AMIT Posted January 9, 2016 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
Skepsis IT Posted January 9, 2016 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
AMIT Posted January 9, 2016 Author Posted January 9, 2016 Yes it has. But why does it display correctly when using HTML.LoadFromFile? What is the different? 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.