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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal