vfclists . wrote:
Isn't some formality in these Unicode discussions called for? Use of
everyday language to express things which can only be properly expressed
and tested through source code is very confusing.

The formal definitions can be found at http://wiki.freepascal.org/FPC_Unicode_support

Consider these few sentences by Mattias

 >>>>
It depends.
There are two codepages. The real one and the one you tell the
compiler.
If you tell the compiler that the string literal is 8-bit system
codepage, it will copy it without conversion to the binary.
Otherwise it converts it to UTF-16
 >>>>

How do you know what the "real" codepage is at runtime or compile time,
as opposed to "the one you tell the compiler"?

On the aforementioned page:
* "the one you tell the compiler": the source file code page if explicitly specified * "the real code page": the value of DefaultSystemCodePage on startup of your program


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to