Fredrik Lundh wrote: > Thomas Heller wrote: > > >>AFAIK, you can configure Python to use 16-bits or 32-bits Unicode chars, >>independend from the size of wchar_t. The HAVE_USABLE_WCHAR_T macro >>can be used by extension writers to determine if Py_UNICODE is the same as >>wchar_t. > > > note that "usable" is more than just "same size"; it also implies that widechar > predicates (iswalnum etc) works properly with Unicode characters, under all > locales. Only if you intend to use --with-wctypes; a configure option which will go away soon (for exactly the reason you are referring to: the widechar predicates don't work properly under all locales). -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, May 06 2005) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4