Jump to content

uniURLFrame.HTML.Loadfromfile vs uniURLFrame.URL:=


AMIT

Recommended Posts

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.

Link to comment
Share on other sites

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