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

102

Likes

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
Adobe Community Professional ,
Aug 13, 2021 Aug 13, 2021

Copy link to clipboard

Copied

add web fonts to use in your dynamic textfield.

Likes

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?

Likes

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
Adobe Community Professional ,
Aug 13, 2021 Aug 13, 2021

Copy link to clipboard

Copied

all should work when viewed on the internet.

Likes

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.

Likes

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
Adobe Community Professional ,
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?

Likes

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.

Likes

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
Adobe Community Professional ,
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.

Likes

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
Adobe Community Professional ,
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.

Likes

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? 

Likes

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
Adobe Community Professional ,
Aug 16, 2021 Aug 16, 2021

Copy link to clipboard

Copied

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

Likes

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? 

Likes

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
Adobe Community Professional ,
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.

Likes

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