[fpc-devel] cpstrrtl/unicode branch merged to trunk
Sven Barth
pascaldragon at googlemail.com
Sun Sep 8 19:23:50 CEST 2013
On 07.09.2013 23:00, Hans-Peter Diettrich wrote:
> Sven Barth schrieb:
>
>> > 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
>> rtl/inc/astrings.inc.
>
> Does this work also for empty string variables?
StringCodePage returns the default code page (variable
DefaultSystemCodePage) for empty strings (which are Nil).
Regards,
Sven
More information about the fpc-devel
mailing list