[fpc-devel] fpcsrc/rtl/unix/video.pp

Marco van de Voort marcov at stack.nl
Fri Nov 3 14:44:24 CET 2006


> Marco van de Voort wrote:
> >> The part after the dot in $LANG. It's possible though that there is no
> >> dot, no idea what to do, maybe assume iso-8859-1 ?
> > 
> > It is also possible there is no LANG, like on all four Stack systems I
> > quickchecked. (freebsd,Solaris and debian mixed)
> 
> No language => assume POSIX => assume iso-8859-1 ?

While ok in general, some older systems might still be in whatever the
vgafont specifies (iow dos CP437) on the console.
 
> Running 'locale' gives POSIX for me if I didn't export a LANG.

[Snail] </home/marcov> locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=




More information about the fpc-devel mailing list