Howdy, Stranger!

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


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?


  • Andre YoungAndre Young USAMember Posts: 0

    ____ || || free ebooks and video tutorials about < Python C R JavaScript Scratch Swift Objective-C Visual Basic .NET PL/SQL Java Ruby C# Delphi Visual Basic Perl Go Assembly PHP C++ MATLAB Scala Bash Julia Dart Awk Prolog FoxPro D Hack Erlang Ada ML Kotlin Crystal ABAP Transact-SQL Logo SAS Rust Alice LabVIEW VBScript Clojure Scheme Apex COBOL Lua Lisp Fortran F# /> __

Sign In or Register to comment.