mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 14:00:14 +02:00
LazUtils: fix problems in iso8859_15 encoding support. Issue #23874, patch from DCelso
git-svn-id: trunk@40266 -
This commit is contained in:
parent
8d124948d7
commit
603426fa54
@ -676,7 +676,7 @@ const
|
||||
#194#187, // #187
|
||||
#197#146, // #188
|
||||
#197#147, // #189
|
||||
#197#187, // #190
|
||||
#197#184, // #190
|
||||
#194#191, // #191
|
||||
#195#128, // #192
|
||||
#195#129, // #193
|
||||
@ -6150,6 +6150,14 @@ function UnicodeToISO_8859_15(Unicode: cardinal): integer;
|
||||
begin
|
||||
case Unicode of
|
||||
0..255: Result:=Unicode;
|
||||
8364: Result:=164;
|
||||
352: Result:=166;
|
||||
353: Result:=168;
|
||||
381: Result:=180;
|
||||
382: Result:=184;
|
||||
338: Result:=188;
|
||||
339: Result:=189;
|
||||
376: Result:=190;
|
||||
else Result:=-1;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user