Atsuo Ishimoto writes: > 2008/5/23 Guido van Rossum <[EMAIL PROTECTED]>: > > Personally, I can live with it. I rarely generate Japanese text so I > > doubt it'll be a problem. I can also change the console encoding and > > error handler. > > While you rarely generate Japanese text, but I guess you often get > non-ASCII text data e.g. SPAM mail in Japanese, Rietveld comments in > Spanish, etc. Forecasting encoding of data is hard in these days.
I don't see the problem. You don't have to forecast the encoding of data. Strings are Unicode in Python internal format. The question is whether the device receiving the output of repr can handle all of the characters that will be generated. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com