Jump to content

uniURLFrame.HTML.Loadfromfile vs uniURLFrame.URL:=


Recommended Posts

Posted

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.

Posted

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">

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...