Mail Archives: djgpp-workers/2001/08/03/14:16:06
> > If I add the following lines to djgpp.env
> >
> > +LANG=de
> > +LANGUAGE=de,en
> >
> > then I _do_ get German text (e.g., from `sed --version'), but the
> > umlauted and ess-tzett chars are incorrectly mapped on my screen
> > under CP437. These chars _are_ available in the upper half of CP437,
> > however.
>
> Doesn't LANGUAGE=de mean codepage 850 rather than 437?
>
> I seem to vaguely recall something about you being able to tell
> libiconv which encoding you need, something like LANGUAGE=de.cp437 or
> some such. Does it work?
It should - the full specification for a language/locale is
aa_BB.cccc
where aa is the ISO language code, BB is the ISO country code and cccc
is the codepage. aa can also be suffixed with "@dd", I believe, to
indicate a dialect (hence the no AT nyorsk messages in some packages).
I suppose the easiest would be to edit locale.alias and set LANG to
one of those alias (e.g. the default locale alias has 'german' and
'deutsch' mapped to de_DE.ISO-8859-1. Change that to de_DE.CP437 and
set LANG to 'german' and you should get correct messages.
- Raw text -