CH_DISPLAY and gettext

Stefan (metze) Metzmacher metze at samba.org
Thu Jun 23 12:55:09 MDT 2011


Am 23.06.2011 19:20, schrieb Jeremy Allison:
> On Fri, Jun 24, 2011 at 02:16:01AM +0900, TAKAHASHI Motonobu wrote:
>>
>> That's what I (and my friends) insisted several years ago:
>>   http://lists.samba.org/archive/samba-technical/2004-March/034638.html
>>   http://lists.samba.org/archive/samba-technical/2004-March/034742.html
>>
>> Internal charset should be fixed. UTF-8 is acceptable but UTF-16 may
>> be better because UTF-16 is more suitable for string manipulation than
>> UTF-8.
> 
> I disagree with that. UTF-16 is just as bad for string manipulation
> as UTF-8, due to compose characters. UTF-16 isn't a fixed length
> representation either.

And UTF-16 doesn't work as a native C String (char *).
We should really try to just use UTF-8 internally.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110623/dafff780/attachment.pgp>


More information about the samba-technical mailing list