Am 12.12.2017 um 08:39 schrieb Sergey Bodrov via Lazarus:
iso-8859-1 encoding have not relation to MS Locale ID. It HTML-specific, and must handled by HTML viewer. I do dirty hack with HTML codepage coversion just because don't ready to make fixes in TIpHtmlPanel.
But this specification occurs in the file and is not handled by your code. But anyway: If I understand you correctly you say that this part of your fixes is a hack around a IpHtmlPanel issue. Then you should know that I fixed code page conversion for the HtmlPanel some weeks ago in trunk, and just a minute ago I added another fix for the codepages which are not specified in the way LConvEncoding expects them ("windows-1252" instead of "cp-1252"). With these modifications I was able to see the German umlauts in the chm files I found on my HD correctly. Does this mean that your LCLID-related changes are obsolete? Please test.
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus