Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode Converted #8

Closed
maheshbhattaraai opened this issue Jun 18, 2019 · 4 comments
Closed

Unicode Converted #8

maheshbhattaraai opened this issue Jun 18, 2019 · 4 comments

Comments

@maheshbhattaraai
Copy link

Chnages into unicode

@farazahmad759
Copy link

farazahmad759 commented Jun 24, 2019

@maheshbhattaraai, I don't know whether you are suffering from the same issue as I am or not, so I'm adding a few details.

The text I want to show in TexView contains HTML codes like ' (equivalent to apostrophe). Example text:
"
You&#39 ;re awesome. (Note: I've deliberately added a space between 9 and ; otherwise it shows up as apostrophe here in github)
"
Ideally it should show up "You're awesome." but what it shows up in the flutter app is You& (without angle brackets), and the text after & sign is clipped.

@maheshbhattaraai
Copy link
Author

Your example code is also conerted into unicode. Can you create new example repo . Flutter version is 1.6.

@shah-xad
Copy link
Owner

No need to use any unicode just write as normal but make sure you are using a raw string.

String teXHTML = r"""
     You're awesome.
   """;

here r is mandatory before starting string quotes..

@maheshbhattaraai
Copy link
Author

I am not using unicode . But the result is showing unicode for mathematical equation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants