Jump to content
limelect

Hebrew font in Web Browser

Recommended Posts

 

Using Delphi 10.2.3 ,Web Browser and Hebrew.
I have 2 devices Samsung s6 and s2.
On S6 no problem.
I am generating an HTML.
Hebrew text is gibberish on Samsong S2.
Tried:
1. <meta content="text/html; charset=ISO-8859-1 and 8
2. TStringStream.Create(TEXT, TEncoding.Unicode);
3. '<big style="font-family: Courier;">' + TEXT (tried a few fonts)

Going into a Hebrew site with Web Browser NO PROBLEM ! on s2.

Thanks for your help

 
 

Edited by limelect

Share this post


Link to post

You're not showing us enough code, so we're not sure what you're trying to do. The <meta> tag you're supposed to use is <meta charset=""> not content. It also can only be either "iso-8859-1" or "iso-8859-8", you can't offer a combination there. What you can do is use "utf-8" or "utf-16" and be asured that the TStringStream you're building is written using the correct encoding, but we can only check if that's done right if you show us more code.

Share this post


Link to post

@stijnsandersAlthough you are right but this problem is a not realy a code but

a fundamental since on S2 it dose not work but on S6 it dose.

I also checked the code on "Kompozer "  which shown as good code.

As i said there is some thing that i miss.

I recall there should be some line for Microsoft IEXPLORER ?

I will keep investigating.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×