CH_DISPLAY and gettext
monyo at monyo.com
Thu Jun 23 17:55:28 MDT 2011
From: Michael Adam <obnox at samba.org>
Date: Thu, 23 Jun 2011 22:04:07 +0200
> Stefan (metze) Metzmacher wrote:
> > 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.
> I am really glad that there seems to be some support for my idea.
> And also that it has been around for quite some time.
> So I am feeling less freaky to bring it up (again) ;-)
> I will think about more details...
> Cheers - Michael
The important matter I insisted on is that the internal charset was
fixed. Using UTF-8 as internal charset is also welcome.
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba-technical