[XML-SIG] Re: Issues with Unicode type
Daniel Veillard
veillard@redhat.com
Wed, 25 Sep 2002 19:06:05 -0400
On Wed, Sep 25, 2002 at 05:48:53PM +0200, M.-A. Lemburg wrote:
> Lars Marius Garshol wrote:
> > Is the plan that Python will eventually be UCS-4 only?
>
> Eventually, yes, but this can take some time -- cheaper memory,
> faster machines, etc. For now we have the compile time option
> and since RedHat chose to activate it, there's a good chance
> that we'll get forced to do the same sooner rather than
> later ;-)
Just in case my post was missed about it, this not the case
for the upcoming release apparently:
gnome:~ -> python
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.maxunicode
65535
>>>
gnome:~ ->
I would rather suggest people stabilize their APIs and provide the
correct wrappers to an unified view of character counting independant
of the specificty of the underlying in-memory representation,
especially if the Windows port of python depends on Windows character
representation (UTF16).
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/