Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Dev

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

 

 

Gentoo dev RSS feed   Index | Next | Previous | View Threaded


usata at gentoo

Oct 30, 2003, 4:44 AM

Post #1 of 3 (461 views)
Permalink
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:
> > > http://bugs.gentoo.org/show_bug.cgi?id=26561
> > > <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
weekend.

--
Mamoru KOMACHI <usata [at] gentoo>
http://www.gentoo.org/~usata/

--
gentoo-dev [at] gentoo mailing list


usata at gentoo

Oct 30, 2003, 7:09 AM

Post #2 of 3 (449 views)
Permalink
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 <usata [at] gentoo>
http://www.gentoo.org/~usata/

--
gentoo-dev [at] gentoo mailing list


usata at gentoo

Nov 1, 2003, 5:06 AM

Post #3 of 3 (456 views)
Permalink
Re: better handling of multibyte characters (nls/cjk/unicode) [In reply to]

Hi,

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"
>
> EOF
> fi
>
> This is rough, but something like it perhaps?

If http://bugs.gentoo.org/show_bug.cgi?id=9988 "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 <usata [at] gentoo>
http://www.gentoo.org/~usata/

--
gentoo-dev [at] gentoo mailing list

Gentoo dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.