mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:36:15 +02:00
TurboPower_ipro: Fix codepage conversion if identified as "windows-xxxx" in html text.
git-svn-id: trunk@56701 -
This commit is contained in:
parent
ebc0d9a02b
commit
ee0da5fafc
@ -5552,6 +5552,8 @@ begin
|
||||
fDocCharset := copy(content, i, j-i);
|
||||
end else
|
||||
fDocCharset := FindAttribute(htmlAttrCHARSET);
|
||||
if pos('windows', Lowercase(fDocCharset)) = 1 then
|
||||
fDocCharset := NormalizeEncoding(StringReplace(fDocCharset, 'windows', 'cp', [rfIgnoreCase]));
|
||||
end;
|
||||
{$ENDIF}
|
||||
Scheme := FindAttribute(htmlAttrSCHEME);
|
||||
|
Loading…
Reference in New Issue
Block a user