[RFC] more encodings tests [was: bzr handles unicode]
Alexander Belchenko
bialix at ukr.net
Sat Jan 7 15:55:19 GMT 2006
John Arbash Meinel пишет:
> By the way, can you give me some unicode characters in your language?
> Right now all I have is the swedish from Erik, and some arabic. I would
> like to test a couple more characters.
Okay. Here is my name (Alexander) in russian:
u'\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440'
You also can download entire Unicode standard from www.unicode.org. This
is pdf ~30MB with all possible characters.
>>+
>>+In case when sys.stdout.encoding is None or ascii
>>+bzr should use bzrlib.user_encoding for print output.
>>+
>
>
> I'm not sure if bzr should use user_encoding if sys.stdout is 'ascii'.
> Definitely if it is None.
> What do other people think?
Probably it's my fault. I think it should be: "when sys.stdout.encoding
is None" only.
> One small comment at the end. We are trying to keep the test names
> sorted alphabetically.
OK. I'm agree.
--
Alexander
More information about the bazaar
mailing list