Michael> Well, what would you have >>>> print u"\N{DEGREE SIGN}" Michael> (or equivalently Michael> str(u"\N{DEGREE SIGN}") Michael> since we're eventually going to have to stuff an 8-bit string Michael> down stdout) do? How about if print calls the .encode("latin1") method for me it gets an ASCII encoding error? If "latin1" isn't a reasonable default choice, it could pick an encoding based on the current locale. Michael> I don't think >>>> print u"\N{DEGREE SIGN}" Michael> u'\xb0' Michael> is really an option. I agree. I'd like to see a little circle. Michael> This is old news. It must have been discussed here before 1.6, Michael> I'd have thought. Perhaps, but I suspect many people suffered from glazing over of the eyes reading all that the messages exchanged about Unicode arcana. I know I did. Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4