Mailing List Archive

Re: better handling of multibyte characters (nls/cjk/unicode)
Hi all,

At Thu, 14 Aug 2003 01:40:40 +0200,
Heinrich Wendel wrote:

> On Thursday 14 August 2003 01:38, Heinrich Wendel wrote:
> > On Thursday 14 August 2003 01:34, Mike Frysinger wrote:
> > >
> > > <summary>

> > > If I want to enable unicode support or similar for an application (say,
> > > vim) only cjk seems applicable at the moment, and is a tad misleading
> > > (there are hundreds of other languages in unicode!).
> > > </summary>

> > /me votes for unicode use-flag
> should also be activated in all profiles by default.

Any objection if I add unicode USE flag (and make it default in all
profiles) ? We cannot simply convert cjk USE flag to unicode, but in
some cases unicode USE flag seems appropriate and we definitely need
it. (currently dev-python/wxPython and x11-libs/wxGTK have unicode
local USE flag and others use cjk or nls for unicode support)

If nobody objects (and hopefully many approve ;) ) I'll create it this

Mamoru KOMACHI <>

-- mailing list
Re: better handling of multibyte characters (nls/cjk/unicode) [ In reply to ]
At Thu, 30 Oct 2003 13:41:51 +0100,
Spider wrote:

> unicode, or utf-8 ?

I personally vote for unicode, but if it is going to be enabled by
default (i.e. Gentoo support UTF-8 immediately after installation),
utf8 seems adequate rather than unicode. I just don't want to add
utf7, utf16, utf32 USE flags for each encoding but have unicode USE
flag which will support Unicode encodings (if any).

> There ought to be some magic to convert locales to utf-8 as well if
> this is enabled.

Even if the USE flag is enabled by default, it doesn't take any effect
unless each ebuild actually uses the USE flag. It may break wxGTK
related ebuilds as darkspecter suggested (thanks for the comment) and
I'm thinking that it isn't time to make the USE flag default yet
(liquidx is working on getting UTF-8 down on Gentoo system). Anyhow,
creating unicode/utf8 USE flag and making it default are two different
matters and we can discuss them separately.

Mamoru KOMACHI <>

-- mailing list
Re: better handling of multibyte characters (nls/cjk/unicode) [ In reply to ]

At Fri, 31 Oct 2003 16:05:30 +0100,
Spider wrote:

> > 1. Create global USE flag named "unicode" which enables
> > Unicode(including UTF-7/UTF-8/UTF-16 and so on) support.
> > 2. Don't make it default in any profiles. (We will consider it later
> > when those applications settle down.)

> Sounds great.

I've just added unicode USE flag :)

> proposed addition to baselayout:
> if [ `use unicode` ] ;
> then
> cat >> ${D}/etc/rc.conf << EOF
> # This setting enables a default UTF-8 locale for your system.
> # please look inside /usr/share/locale for more examples
> LANG="en_US.UTF-8"
> fi
> This is rough, but something like it perhaps?

If "setting LANG variable"
is implemented we may think about it, but I don't think the system
should set LANG variable (at least) until then.

Mamoru KOMACHI <>

-- mailing list