[fpc-devel] twide3.pp on windows
Yury Sidorov
jura at cp-lab.com
Mon Jul 16 21:30:40 CEST 2007
From: "Daniƫl Mantione" <daniel.mantione at freepascal.org>
> Op Mon, 16 Jul 2007, schreef Yury Sidorov:
>
> > > There must be, because the CRT unit currently seems to do such
> > > vodoo
> > > (which is questionable behaviour by the way).
> >
> > Yes. It is possible to specify code pages for console, gui
> > controls, etc. But
> > application must do it in runtime.
>
> Perfect, this is what twide3 needs.
It is not possible to change code page used for wide<>ansi translation
per applicaton.
> > Oh, yes it will not work on Windows, because utf8 is not supported
> > here.
> >
> > Then, twide3.pp should be skipped on Windows, since it is not
> > possible to do
> > it in locale independant way.
>
> Well, the test could be adapted to use some kind of code page. It
> could
> work on all platforms then.
This test will work on Windows only if utf8 support will be added to
Windows rtl.
Yury.
More information about the fpc-devel
mailing list