Re: Unicode files ?

Martin Gebert <[email protected]> Tue, 30 Mar 2010 23:20:45 +0200
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



> for many applications all that is required are one or two UTF-8
> specific functions, such as strlen.

To close this discussion, I'd like to point out that in the worst case
there's much more to it. You can take a look into wchar.h to get a
glimpse of what you'd need to reimplement for every supported encoding
in order to get a widely usable solution. The copy&paste method may
have similar disadvantages, as from my experience these library
implementations tend to have many and widespread backstage
dependencies to other library facilities due to the DRY principle gone
perfect...

Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuyaywACgkQ0qFE1uHKpVd3dgCgmVzpWaYOI0XyN70sMc+LZ44Y
Q9wAniWqGBks7zfy95JolqdafTqjlIzp
=oWbD
-----END PGP SIGNATURE-----