Forum > General
Did Lazarus will serve unicode?
Borneq:
From Delphi 2009 string everywhere means WideString and components calls Windows Api functions with W at end as Windows.ExtTextOutW.
Is possible this big change in FreePascal?
theo:
Lazarus is using UTF-8 for Unicode. So you can use Unicode in Lazarus apps.
A D2009 compatible string is planned afaik, but I don't know if or when this will happen.
felipemdc:
Lazarus supports unicode through UTF-8 since 2008:
http://wiki.lazarus.freepascal.org/LCL_Unicode_Support
Before Delphi implemented it.
Borneq:
string means AnsiString or UnicodeString?
if I have
s:string
Length(s) count number bytes or number chars?
theo:
--- Quote from: Borneq on August 05, 2010, 02:08:04 pm ---if I have
s:string
Length(s) count number bytes or number chars?
--- End quote ---
Bytes. Use UTF8Length in LCLProc to count number of UTF-8 chars.
Navigation
[0] Message Index
[#] Next page