<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=CS link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>I have found out, that Lazarus stores compiled.js Java script file in The format UTF8 BOM.</p><p class=MsoNormal>And .lfm files are stored as UTF8 without BOM.</p><p class=MsoNormal>So When I have used my loving Pas2jswidgets. When I have added Czech characters in to form by using Lazarus Form editor window.</p><p class=MsoNormal>When I have compiled The project. I have resaved created .js file but no with encoding UTF8 BOM but I have changed encoding to UTF8</p><p class=MsoNormal>So no BOM.</p><p class=MsoNormal>As a result, all Czech characters are being displaied perfectly on Microsoft Windows.</p><p class=MsoNormal>But I Am aware, that my finding is not big revolution related to this problém.</p><p class=MsoNormal>Because when compiled .js files will be stored without BOM, Android operating systém will display Czech characters incorrectly. So I will hhave functioning solution only for Microsoft operating systém.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>But may be, that my finding will help to find a professional repair solution.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So resaving .js file to UTF8 without YBOm is partial solution.</p><p class=MsoNormal>So for now, to have Android operating systém to display characters correctly, I will have to really store Czech characters in to respektive GUI element properties in to onformcreate procedure event.</p><p class=MsoNormal>I know, that UTF8 with BOM is important for Android. Because I had issues with this when I have compiled Android apps written by using PPCJVM and JVM target, OS Android.</p><p class=MsoNormal>UTF8 without BOm causes wrong Czech characters display on Android devices.</p><p class=MsoNormal>And I Am afraid, that I could get The same unpleasant result also when working with WEB app and .js file stored as UTF8 without BOM.</p></div></body></html>