break unichr instead of fix ord?

Vlastimil Brom vlastimil.brom at
Thu Aug 27 02:26:28 CEST 2009

2009/8/27  <rurpy at>:
> On Aug 26, 2:05 am, Vlastimil Brom <vlastimil.b... at> wrote:
>> However, if I need these functions for higher unicode planes, the
>> following rather hackish replacements seem to work. I presume, there
>> might be smarter ways of dealing with this, but anyway...
>> hth,
>>    vbr
>>[...code snipped...]
> Thanks, I wrote a replacement ord function nearly identical
> to yours but will steal your unichr function if that's ok. :-)
> But I still wonder why all this is neccessary.
> --
You are welcome :-),
but make sure to test it, if you are going to use it for something
more complex; as I said, it's only vaguely tested ...


More information about the Python-list mailing list