pro_imaj Posted November 5, 2020 Share 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 Link to comment Share on other sites More sharing options...
pro_imaj Posted November 5, 2020 Author Share 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 Quote Link to comment Share on other sites More sharing options...
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.