I'm writing crossplatform and need to read & write a string to stream (file) (does not have to be readable).
but strings in linux can take up to 8 bytes/char
does kylix use UTF-8 ? my thoughts were that Kylix uses constant 2bytes/char , this true?
what exactly happens in memory for the string type?
for future compatibility, what should I do?
for now i'm going to port to PChar and just save it:
what do you think?