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>.
Attachment:
signature.asc
Description: This is a digitally signed message part