[Lazarus] String vs WideString

wkitty42 at windstream.net wkitty42 at windstream.net
Tue Aug 15 19:53:21 CEST 2017


On 08/15/2017 05:25 AM, Michael Van Canneyt via Lazarus wrote:
> As it is now, FPC offers a way out for all cases:
> 
> WideString/UnicodeString for those that want 2-byte characters.


what if 3 and 4 byte characters are required? will they also work in UnicodeStrings?

i'm looking at this from a linux POV but have been trying to come from the very 
old school DOS TP stuff using codepages... especially needing to be able to read 
codepage strings and properly convert all their characters to UTF-8...

converting back would be a huge help, too... even with the possible loss of 
characters requiring replacing them with "?" or something to hold their place 
and show they didn't convert... that or even leaving them in their 2, 3 or 4 
byte form and let those using older codepage stuff see them raw...


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*


More information about the Lazarus mailing list