Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2012-08

Unicode and Short Strings

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Schnell

Regarding the discussion of potentially providing the Delphi compatible "String" type with 16 bit characters: What is in this case happening to Short strings. I don't know how Delphi handles this.

-Michael

Reply by email

Tomas Hajny
to Michael Schnell
Michael Schnell wrote
Regarding the discussion of potentially providing the Delphi compatible "String" type with 16 bit characters: What is in this case happening to Short strings. I don't know how Delphi handles this.

Type ShortString stays unchanged (locale specific 8-bit character set).

Tomas

Reply by email

Tomas Hajny
to Michael Schnell
Michael Schnell wrote
On 08/31/2012 03:21 PM, Tomas Hajny wrote: > Type ShortString stays unchanged (locale specific 8-bit character set). > Thus there will be auto-conversion when doing MyShortString := MyString; ?

Yes, this auto-conversion already exists now.

Tomas

Reply by email