Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Special characters don't work in dynamic text box

Explorer ,
Aug 13, 2021 Aug 13, 2021

jarnek85287640_0-1628857421979.png

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?

 

TOPICS
How to
765
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2021 Aug 13, 2021

add web fonts to use in your dynamic textfield.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2021 Aug 13, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2021 Aug 13, 2021

all should work when viewed on the internet.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 16, 2021 Aug 16, 2021

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 16, 2021 Aug 16, 2021

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2021 Aug 17, 2021

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2021 Aug 17, 2021
LATEST
quote

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2021 Aug 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 16, 2021 Aug 16, 2021

Are you using some type of webfont? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 16, 2021 Aug 16, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2021 Aug 17, 2021

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? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2021 Aug 17, 2021

@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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines