[RFC] more encodings tests [was: bzr handles unicode]
John Arbash Meinel
john at arbash-meinel.com
Sat Jan 7 15:56:19 GMT 2006
Alexander Belchenko wrote:
> 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'
Thanks.
>
> You also can download entire Unicode standard from www.unicode.org. This
> is pdf ~30MB with all possible characters.
Yeah, but that won't tell me how to make a russian word. :)
>
>>> +
>>> +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
>
I've pulled your patches, and updated the tests. Can you try running it
again?
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060107/45677639/attachment.pgp
More information about the bazaar
mailing list