Florian Klaempfl schrieb:
> The BOM/code page directive simply allows (and nothing else!) you to
> create widestrings using simple string constants even if you want to use
> chinese or whatever characters. Just tell the compiler what enconding to
> use to convert the string constant to widestring.
Felipe Monteiro de Carvalho schrieb:
> Hello,
>
> I am doing some tests and trying to find out what exactly happens with
> string constants. Suppose this source code:
>
> var
> AString: ansistring;
> begin
> AString := 'A acentuação é necessária no Português';
> end;
>
> The source is encode
Hello,
I am doing some tests and trying to find out what exactly happens with
string constants. Suppose this source code:
var
AString: ansistring;
begin
AString := 'A acentuação é necessária no Português';
end;
The source is encoded in utf-8, but the compiler isn't told about that
in any way