Skip to main content
Inspiring
August 13, 2021
Question

Special characters don't work in dynamic text box

  • August 13, 2021
  • 2 replies
  • 884 views

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?

 

This topic has been closed for replies.

2 replies

Legend
August 13, 2021

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.

Inspiring
August 16, 2021

Are you using some type of webfont? 

Legend
August 16, 2021

Of course not. That wouldn't cause the issue you're having.

kglad
Community Expert
Community Expert
August 13, 2021

add web fonts to use in your dynamic textfield.

Inspiring
August 13, 2021

Will any do or is there a specific one for this?

kglad
Community Expert
Community Expert
August 13, 2021

all should work when viewed on the internet.