> Maybe a decent rule of thumb would be: > > - if LANG is set, use the encoding it specifies; if there's no > encoding in it, assume it's ASCII. > > - if LANG is *not* set, default to UTF-8 instead of to US-ASCII; UTF-8 > is much more likely to be correct and useful for 10.4 and before.
You mean, on OSX? Sounds fine to me. Some people will see moji-bake with this surely; they'll have to set LANG themselves. (IOW, ASCII is more likely to be correct, but UTF-8 is more likely to be useful). Regards, Martin _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
