string representation CLX Delphi & Kylix

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?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!