From: Daniel Veillard (Daniel.Veillard@imag.fr)
Date: Fri Feb 02 2001 - 10:12:47 EST
On Fri, Feb 02, 2001 at 01:28:09PM +0100, Igor Zlatkovic wrote:
[ Please subscribe to the list, or double check you subsciption address
I won't approve all your mail manually indefinitely ... Daniel ]
> Conversions under other libraries, such as Microsoft NLS implementation
> found in Win32 is about the same. A conversion between any two encoding
> standards requires you to go through wide charracters. For example, there is
Wich is plain braindead and simply stupid ...
> no direct conversion between UTF-8 and SHIFT-JIS, you have to convert UTF-8
> to wide char, then convert the resulting wide char to SHIFT-JIS. This is not
Boo, I hope you don't consider this as normal !
> the downside of ICU, it is the common case everywhere. It can never be
> different, for writing conversions from any to any encoding would be a
> nightmare in its own right.
Please look at iconv, it does convert directly from any to any. BTW,
this is standard on all recent linux and glibc based systems.
> I haven't tried ICU seriously yet. I shall do that before I make any further
> statements about it.
You should also look at what exists outside the windows world too.
Sorry libxml is UTF8 based for a very good reson, it's part of the
GNOME framework and we decided that UTF8 made far much sense.
Adding a 0 every other chars for most processing done is just the
perfect way to destroy locality, caching, and speed on modern
architectures. the fact that MS standardized on this doesn't mean
it's the Right Way.
Libxml wasn't designed primarily for Windows, I'm very happy to have
Windows users, but please realize that my design constraints were not
compatibility with Windows API or framework.
Daniel
-- Daniel Veillard | Red Hat Network http://redhat.com/products/network/ veillard@redhat.com | libxml Gnome XML toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Fri Feb 02 2001 - 10:51:20 EST