[Pas2js] .lfm files in utf16 question
Michael Van Canneyt
michael at freepascal.org
Sat Feb 4 09:42:13 CET 2023
On Fri, 3 Feb 2023, Mgr. Janusz Chmiel via Pas2js wrote:
> Dear MR Canneyt
> ,
>
> I have created fully functioning WEB app thanks to Pas2JS, and thanks to profesionally created pas2jswidgets.
> But I Am facing big issue.
> I want to use Czech characters in Textual assignements of GUI elements.
> It is possible to store .lfm file in UTF16 format, but in this case, Lazarus have issues to load .lfm form file.
> Is it possible to overcome this problém by typing long command line which will initiate .js script build proces without Lazarus?
To the best of my knowledge, .lfm files only support UTF8.
> Or unfortunately, it will also crash, because stored form in UTF16 will not work also when such code will become The part of compiled .js script file?
Normally, UTF8 files should work in pas2js. It would be good if you could
create a really small example that I can use to test your problem.
Michael.
More information about the Pas2js
mailing list