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

Special characters don't work in dynamic text box

Explorer ,
Aug 13, 2021 Aug 13, 2021

Copy link to clipboard

Copied

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

Views

373

Translate

Translate

Report

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

Copy link to clipboard

Copied

add web fonts to use in your dynamic textfield.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

all should work when viewed on the internet.

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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?

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Are you using some type of webfont? 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

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? 

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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