tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UTF8 (Was: [PATCH] replace 0xA0 to whitespace in plain text files (part 2))



Ignatios Souvatzis wrote:

> On Fri, Sep 12, 2008 at 01:16:24PM +0300, markucz%gmail.com@localhost wrote:
> > On Fri, 12 Sep 2008 12:02:33 +0200
> > Anders Magnusson <ragge%ludd.ltu.se@localhost> wrote:
> > 
> > > Martin Husemann wrote:
> > > > On Fri, Sep 12, 2008 at 11:05:38AM +0200, Alan Barrett wrote:
> > > >> I question the premise behind "stay at latin1".
> > > > 
> > > > Just to feed the fire: we have files with different locales in the 
> > > > source
> > > > tree, and would need to convert those properly, for example:
> > > > 
> > > >   src/distrib/utils/sysinst/msg.mi.pl
> > > > 
> > > > is ISO8859-2, AFAICT. (I forgot to commit a patch that makes sysinst
> > > > switch to proper locale - should dig that up and discuss on 
> > > > tech-install)
> > > > 
> > > ...which brings up the question if NetBSD shouldn't go UTF8 anyway?  The
> > > character set are mostly annoying for us that do not have English as our
> > > native language, and UTF8 isn't too invasive on the system.
> > > 
> > > -- Ragge
> > > 
> > ... which in turn brings up the question of adding UTF-8 support in wscons,
> > creating/finding UTF-8 console fonts, etc.
> 
> Fonts are not the problem, at least with X11 - but curses eats what
> looks to it like highbit-set (iso-8859-foo-like) control characters,
> e.g. one of the bytes of the utf-8-sequence of ß, so I'm not too
> happy with it. (That's for 4.0 - I think some work was in progress
> to change this?)
> 
> Regards,
>       -is

Our vi with the builtin curses works pretty well with UTF-8 on current.

--
Adam

Attachment: pgpu1MG6TovA5.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index