localized files

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Thu May 1 15:04:58 CEST 2003


On Thu, 01, May 2003, Jasper Huijsmans wrote:

> Hey Benedikt,

Hello Jasper,

> > See the following description:
> > http://www.home.unix-ag.org/bmeurer/xfce/index.html#20030501
> > 
> 
> >From your page:
> ===
> For compatibility with systems that lack the setlocale library call, you
> can set the environment variable LANG to your desired locale instead.
> For example:
> 
> LANG="de_DE.ISO8859-1"
> export LANG
> ===
> 
> Shouldn't all files be in utf-8? They will need to be converted to
> display them anyway.

The contents of a file is not covered by this interface. So the files
can be of any encoding.

> > The __unaliasname() function in i18n.c might be problematic. I tested
> > it on Linux and it seems to work well, but I think it needs some more
> > testing.
> 
> I hope to find some time later today.

Just a note: I grabbed the __unaliasname() function from Netbsd's libc
and changed it to use fgets instead of fgetln (since most linux systems
seem to lack fgetln).

> 	Jasper

regards,
Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list