Copy link to clipboard
Copied
The top one is a static text box and the bottom is a dynamic text box. In the fla the text is the same but as html the second one (Dynamic) becomes this weird combination of characters. Is there any way to fix this and why does this happen?
Copy link to clipboard
Copied
add web fonts to use in your dynamic textfield.
Copy link to clipboard
Copied
Will any do or is there a specific one for this?
Copy link to clipboard
Copied
all should work when viewed on the internet.
Copy link to clipboard
Copied
Tried it but ran into the issue that the webpage has to run locally and the machine can't be connected to the web all the time. So sadly haven't found an easy solution.
Copy link to clipboard
Copied
the webpage does not have to run locally and, in fact, is intended to be run on a web server.
why did you state that it has to run locally?
Copy link to clipboard
Copied
well it runs on a local webserver I suppose. The device the pages are to be viewed on can't be connected to the web for security reasons.
Copy link to clipboard
Copied
well it runs on a local webserver I suppose. The device the pages are to be viewed on can't be connected to the web for security reasons.
By @jarnek85287640
then that device needs the fonts used.
Copy link to clipboard
Copied
I just tried entering "Test ßä" into a dynamic textfield and it rendered fine when published.
Then I tried programmatically assigning "Test ßä" to its .text property at runtime and it still rendered fine.
It looks like your browser is somehow interpreting UTF-16 as UTF-8, but I have no idea how you've managed to make it do that.
Copy link to clipboard
Copied
Are you using some type of webfont?
Copy link to clipboard
Copied
Of course not. That wouldn't cause the issue you're having.
Copy link to clipboard
Copied
When the webpage is served by the server it comes with those characters and not with the characters that are in the actual html. Im don't really know how the server works but could that be the issue?
Copy link to clipboard
Copied
@jarnek85287640 wrote:
When the webpage is served by the server it comes with those characters and not with the characters that are in the actual html. Im don't really know how the server works but could that be the issue?
post a link to your html on your file server and explain where the issue is located and what should be displayed and what is displayed.