Re: Introspection API

Robert Collins <[email protected]> Sat, 19 Feb 2005 18:58:11 +1100
Newsgroups gmane.comp.gnome.language-bindings,gmane.comp.gnome.gtk+.devel.general
Message-ID <1108799891.18428.13.camel@localhost>
On Fri, 2005-02-18 at 23:41 -0500, Matthias Clasen wrote:
>On Fri, 2005-02-18 at 15:34 -0600, Mike Kestner wrote:
>>On Tue, 2005-02-15 at 15:38 -0500, Matthias Clasen wrote:
>>
>>> Comments would be appreciated,
>>
>>One more wrinkle for params...
>>
>>It would be nice for string params to identify encoding when they are
>>not in utf8 encoding, such as in the filename case.  A case could
>>probably be made for a GStringDef.
>>
>
>Are there any other common encodings besides filenames and UTF-8 ? 
>I have reworked my initial api draft a bit (drawing some inspiration
>from dbus-gidl.h), and the new draft includes generic annotations, which
>could be used to associate encoding information with string parameters.

http://czyborra.com/utf/ -
you'll hit utf-16 and ucs-4 often too, particularly for
non-close-to-ascii data.

also EUC-JP, EUC-CN, EUC-TW, EUC-KR are very important, as unicode
mangled them completely (the Han unification).

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCFvGSM4BfeEKYx2ERAsZOAKCp7GAC74BGEgvMQlHXhu8Zf+3b+ACdGAaM
qKjGPCZYyqWi80O+x6E/Fco=
=d6AL
-----END PGP SIGNATURE-----