Re: unicode by default
- From: harrismh777 <harrismh777@xxxxxxxxxxx>
- Date: Wed, 11 May 2011 17:51:07 -0500
Ian Kelly wrote:
Ian, Benjamin, thanks much.
The `unicode' class was renamed to `str', and a stripped-down version
of the 2.X `str' class was renamed to `bytes'.
... thank you, this is very helpful.
> If I do not specify any code points above ascii 0xFF does any of this
> matter anyway?
You mean 0x7F, and probably, due to the need to explicitly encode and decode.
Yes, actually, I did... and from Benjamin's reply it seems that this matters only if I am working with bytes. Is it true that if I am working without using bytes sequences that I will not need to care about the encoding anyway, unless of course I need to specify a unicode code point?
Thanks again.
kind regards,
m harris
.
- Follow-Ups:
- Re: unicode by default
- From: John Machin
- Re: unicode by default
- References:
- unicode by default
- From: harrismh777
- Re: unicode by default
- From: Ian Kelly
- unicode by default
- Prev by Date: Re: Merge multiple source directories into one package with distutils?
- Next by Date: Re: checking if a list is empty
- Previous by thread: Re: unicode by default
- Next by thread: Re: unicode by default
- Index(es):
Relevant Pages
|