Jump to content

Recommended Posts

Posted

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');

 

  • pro_imaj changed the title to UniHTMLFrame or UniURLFrame Turkish Character Problem
Posted
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);

 

  • Happy 1
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...