[fpc-devel] cpstrrtl/unicode branch merged to trunk
pascaldragon at googlemail.com
Sat Sep 7 18:15:24 CEST 2013
Am 07.09.2013 17:23 schrieb "Hans-Peter Diettrich" <DrDiettrich1 at aol.com>:
>>>> Anyway, the resulting code page of a concatenation is normally
>>>> the code page of whatever you assign the string to (so if you
>>>> assign to an utf8string, the resulting code page will be
>>> Maybe. I don't know how a concrete compiler handles string
>> Now you do. It's like that both in FPC and in Delphi.
> Sorry, I didn't look at or step through the generated code. I still
> doubt that a concatenation function gets an TargetEncoding argument.
The target string is passed as var-parameter and thus the codepage can be
queried using StringCodePage. See fpc_ansistr_concat in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel