mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-14 22:36:07 +02:00
lazutils: fixed UTF8CharacterLengthFast
git-svn-id: trunk@55218 -
This commit is contained in:
parent
549f824d8c
commit
6e41e1e216
@ -442,7 +442,7 @@ end;
|
||||
function UTF8CharacterLengthFast(p: PChar): integer;
|
||||
begin
|
||||
case p^ of
|
||||
//#0..#191 : Result := 1;
|
||||
#0..#191 : Result := 1;
|
||||
#192..#223 : Result := 2;
|
||||
#224..#239 : Result := 3;
|
||||
#240..#247 : Result := 4;
|
||||
|
Loading…
Reference in New Issue
Block a user