2009/8/27 <ru...@yahoo.com>: > On Aug 26, 2:05 am, Vlastimil Brom <vlastimil.b...@gmail.com> 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 ...
vbr -- http://mail.python.org/mailman/listinfo/python-list