mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 02:39:15 +02:00
lcl: use UnicodeString instead of WideString for UTF16String to remove unneeded conversions (lazutils uses UnicodeString and converting their results to WideString cause a helper calls)
git-svn-id: trunk@35386 -
This commit is contained in:
parent
34c1cfa3cc
commit
b75cbdf949
@ -333,7 +333,7 @@ function ClassCase(const AClass: TClass; const ACase: array of TClass; const ADe
|
|||||||
// strictly spoken, a widestring <> utf16string
|
// strictly spoken, a widestring <> utf16string
|
||||||
// todo: use it in existing functions
|
// todo: use it in existing functions
|
||||||
type
|
type
|
||||||
UTF16String = type WideString;
|
UTF16String = type UnicodeString;
|
||||||
PUTF16String = ^UTF16String;
|
PUTF16String = ^UTF16String;
|
||||||
|
|
||||||
function UTF8CharacterLength(p: PChar): integer; inline;
|
function UTF8CharacterLength(p: PChar): integer; inline;
|
||||||
|
Loading…
Reference in New Issue
Block a user