default-utf8.patch 560 B

12345678910111213
  1. --- Lib/site.py 2005-10-17 15:38:18.000000000 +0300
  2. +++ Lib/site.py 2005-10-17 15:41:02.000000000 +0300
  3. @@ -349,7 +349,7 @@
  4. """Set the string encoding used by the Unicode implementation. The
  5. default is 'ascii', but if you're willing to experiment, you can
  6. change this."""
  7. - encoding = "ascii" # Default value set by _PyUnicode_Init()
  8. + encoding = "utf-8" # Default value set by _PyUnicode_Init()
  9. if 0:
  10. # Enable to support locale aware default string encodings.
  11. import locale
  12. Yalnızca Python-2.4.2/Lib'da: site.py~