On 06/03/2014 12:12 AM, wxjmfa...@gmail.com wrote: > I was myself really suprised to fall on such a case and > after thinking no, such cases may logically happen.
Putting in this comment not for JMF but for poor souls who find this thread on a search and are led astray by jmf's trolling. Either it was your code or an issue with the Windows console that caused the exception. When you try to print out unicode strings, Python must convert them to the character encoding of the terminal in order to print them out. On sane systems this is UTF-8. On Windows it could be anything. Do you want Python to fail silently or do you want to fail with a useful message, with the option of specifying the exact behavior you want (replace unrepresentable characters with spaces, question marks, etc)? Seems like jmf, though being a self-proclaimed unicode expert, continually confusing unicode with encoding schemes. > > It's not important. I'm no more writing Py apps, only > considering software through an unicode eye. Please just stop posting to this list. thanks. -- https://mail.python.org/mailman/listinfo/python-list