[fpc-pascal] Question mark?

Marco van de Voort marcov at stack.nl
Sun Sep 12 13:24:18 CEST 2010

In our previous episode, Jonas Maebe said:
> On 11 Sep 2010, at 20:54, Luis Fernando Del Aguila Mej?a wrote:
> > That is, When I use readln, then the Widestring manager use the charset of
> > the command interpreter (cmd 850), and when I use writeln, then the
> > Widestring manager, use the charset of the Operating System (ANSI-1252).
> > (only windows)
> > 
> > Am I right, or am I wrong?
> I don't know the details of how it works under Windows.

More or less yes. The cmdline interpreter uses a different (labelled OEM,
generally more doslike) charset, then the Windows system charset
(Windows-xx, refered to in windows api as "ANSI")

Searching for OEM in Mantis yields some of the known problems with this,
namely 14467,15233,16064.  Our current model does not properly model this as
far as I can see.

More information about the fpc-pascal mailing list