diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-23 17:45:01 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-23 17:45:01 -0500 |
| commit | ed7e0cc37c7a3f451092783a8f68c5773a4c32e4 (patch) | |
| tree | ee8e98ceaf1265175c6afa1e6763c0a0618e72c3 /CHANGES.txt | |
| parent | e9926a4c6a097feb76d5b5ec63fb681f2ab4a813 (diff) | |
| download | python-setuptools-git-ed7e0cc37c7a3f451092783a8f68c5773a4c32e4.tar.gz | |
Update changelog. Fixes #105 and Fixes #113.
--HG--
extra : amend_source : 10cadb252bc504ef25c9f9cf7f3cdc5bf03fd367
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 9190aee2..b20d1683 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,29 @@ CHANGES * Issue #114: Use ``sys.getfilesystemencoding`` for decoding config in ``bdist_wininst`` distributions. +* Issue #105 and Issue #113: Establish a more robust technique for + determining the terminal encoding:: + + 1. Try ``getpreferredencoding`` + 2. If that returns US_ASCII or None, try the encoding from + ``getdefaultlocale``. If that encoding was a "fallback" because Python + could not figure it out from the environment or OS, encoding remains + unresolved. + 3. If the encoding is resolved, then make sure Python actually implements + the encoding. + 4. On the event of an error or unknown codec, revert to fallbacks + (UTF-8 on Darwin, ASCII on everything else). + 5. On the encoding is 'mac-roman' on Darwin, use UTF-8 as 'mac-roman' was + a bug on older Python releases. + + On a side note, it would seem that the encoding only matters for when SVN + does not yet support ``--xml`` and when getting repository and svn version + numbers. The ``--xml`` technique should yield UTF-8 according to some + messages on the SVN mailing lists. So if the version numbers are always + 7-bit ASCII clean, it may be best to only support the file parsing methods + for legacy SVN releases and support for SVN without the subprocess command + would simple go away as support for the older SVNs does. + --- 1.4 --- |
