How do I display unicode value stored in a string variable using ord()

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Aug 19 16:16:59 EDT 2012


On Sun, 19 Aug 2012 11:50:12 -0600, Ian Kelly wrote:

> On Sun, Aug 19, 2012 at 12:33 AM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
[...]
>> The PEP explicitly states that it only uses a 1-byte format for ASCII
>> strings, not Latin-1:
> 
> I think you misunderstand the PEP then, because that is empirically
> false.

Yes I did misunderstand. Thank you for the clarification.



-- 
Steven



More information about the Python-list mailing list