[fpc-pascal] Status of UTF8

Michael Schnell mschnell at lumino.de
Mon Sep 30 08:45:38 CEST 2013


On 09/28/2013 02:51 PM, Jonas Maebe wrote:
> . You can read your data into a RawByteString and then call 
> SetCodePage(rawbytestr,codepagenr,false) to set its code page to 
> whatever the code page of the data in that string is (without 
> attempting to convert the data, which is what the last "false" 
> parameter indicates).

What is supposed to happen when you uses such thingies a string  "+" 
operation (to be added to each other, with a "normal" string or with a 
string constant ?

What happens when using it in a string "copy" or "pos" function ?

What happens when struing it in a TStringList ?

(OK I can try all this myself ...)
-Michael



More information about the fpc-pascal mailing list