[fpc-devel] twide3.pp on windows
Daniël Mantione
daniel.mantione at freepascal.org
Mon Jul 16 17:13:07 CEST 2007
Op Mon, 16 Jul 2007, schreef Yury Sidorov:
> From: "Jonas Maebe" <jonas.maebe at elis.ugent.be>
> > On 16 Jul 2007, at 16:32, Vincent Snijders wrote:
> >
> > > How is the twide3.pp test supposed to work?
> >
> > It assumes that the testsuite environment is configured to use utf8. I
> > don't know how to make it encoding-independent, nor how to configure a
> > Windows "console session" to always use utf8 (the testsuite scripts of
> > the automated testsuite runs on Linux, Solaris and Mac OS X all
> > explicitly set the LANG environment variable to ensure this).
>
> Our Windows RTL use current ansi code page to perform widestring<->ansistring
> conversions. utf8 can not be used.
How to set the current code page on Windows? The actual code page doesn't
matter, but a fixed code page is needed for a deterministic test.
Daniël
More information about the fpc-devel
mailing list