AMIT Posted January 9, 2016 Share Posted January 9, 2016 What is the different between uniURLFrame.HTML.LoadFromFile('UniServerModule.ServerRoot+'\html\myHTML.html'); and uniURLFrame.URL:='../html/myHTML.html'; ? I thought it should be the same but there is a problem. 1. Both are work fine when the HTML File (myHTML.html) contain english character only. 2. When the myHTML.html file contain non-english character there is a problem. using uniURLFrame.HTML.LoadFromFile('UniServerModule.ServerRoot+'\html\myHTML.html'); -> non-English Character display correctly. using uniURLFrame.URL:='../html/myHTML.html'; -> non-English Characters cannot be display (unreadable character display on the screen. Please help me to clarify this problem. Quote Link to comment Share on other sites More sharing options...
Skepsis IT Posted January 9, 2016 Share Posted January 9, 2016 Hi, perhaps is the encoding that you use on html. Do you have something like that on your html? <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> Quote Link to comment Share on other sites More sharing options...
AMIT Posted January 9, 2016 Author Share Posted January 9, 2016 Yes it has. But why does it display correctly when using HTML.LoadFromFile? What is the different? 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.