limelect 48 Posted November 12, 2019 (edited) 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 November 12, 2019 by limelect Share this post Link to post
stijnsanders 35 Posted November 12, 2019 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
limelect 48 Posted November 12, 2019 @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
limelect 48 Posted November 13, 2019 The answer was amazingly simple add <meta charset="utf-8"> Share this post Link to post