[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

James Y Knight foom at fuhm.net
Sat Apr 25 01:06:29 CEST 2009

On Apr 24, 2009, at 6:05 PM, Paul Moore wrote:
> - Windows systems where broken Unicode (lone surrogates or whatever)
> isn't involved
> - Unix systems where the user's stated filesystem encoding is correct
> Can you honestly say that this isn't the vast majority of real-world
> environments? (IIRC, you are based in Japan, so it may well be true
> that the likelihood of problems is a lot higher where you are than
> where I am - the UK - but I suspect that averaging out, things are
> generally as above).

In my experience, it is normal on most unix systems that some programs  
(mostly daemons) are running in default "POSIX" locale, others (most  
user programs) are running in the "en_US.utf-8" locale, and some  
luddite users have set themselves to "en_US.8859-1". All running on  
the same system.


More information about the Python-Dev mailing list