pro_imaj Posted November 5, 2020 Posted November 5, 2020 Hi, When I load the saved HTML file with UniHTMLFrame or UniURLFrame, Turkish characters appear corrupted. Charset = UTF-8 is used in HTML code. When I open the file with Crome, there is no problem, when I open it with Unigui components, there is a problem with Turkish characters, how can I solve this? UniHTMLFrame1.HTML.LoadFromFile ('D:\FilePath\FileName.html'); Quote
pro_imaj Posted November 5, 2020 Author Posted November 5, 2020 7 hours ago, pro_imaj said: Hi, When I load the saved HTML file with UniHTMLFrame or UniURLFrame, Turkish characters appear corrupted. Charset = UTF-8 is used in HTML code. When I open the file with Crome, there is no problem, when I open it with Unigui components, there is a problem with Turkish characters, how can I solve this? UniHTMLFrame1.HTML.LoadFromFile ('D:\FilePath\FileName.html'); This is how I solved the problem. UniHTMLFrame1.HTML.LoadFromFile ('D:\FilePath\FileName.html',TUTF8Encoding.UTF8); 1 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.