mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 15:16:10 +02:00
ide, i18n, allow some ascii chars to be un-encoded in result string
git-svn-id: trunk@15441 -
This commit is contained in:
parent
1ebd38a998
commit
ebdec7f951
@ -149,7 +149,7 @@ var
|
||||
// and re-encode back the rest
|
||||
while Ustr<>'' do begin
|
||||
j := UTF8CharacterLength(pchar(Ustr));
|
||||
if j=1 then
|
||||
if (j=1) and (Ustr[1] in [#0..#31,#128..#255]) then
|
||||
Value := Value + '#'+IntToStr(ord(Ustr[1]))
|
||||
else
|
||||
Value := Value + copy(Ustr, 1, j);
|
||||
|
Loading…
Reference in New Issue
Block a user