-
Notifications
You must be signed in to change notification settings - Fork 0
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
Issue with formatting Unicode characters #38
Comments
Hi @nikkehtine You got a eagle eye Nikki! ;D I edit the HTML directly in Firefox to add that German word in the Could set the
What do you think? |
Another encoding they suggest is ISO-8859-1.
(it was said in a context that form submission can mess up encoding, and since our page isn't static, this may be somewhat relevant. I didn't raed the whole thing tho). |
Hi @nikkehtine and @WitchDevelops We could try the last solution. Using
instead using If that doesn't work then we could use JavaScript. We can figure out how. I don't like other solutions. Let's try it! ;D |
It's gonna be hard to test if any of those solutions work without somehow forcing the response from the API to see those characters... any ideas how to do that? |
We could use that particular advice as the API source for testing. const API = "https://api.adviceslip.com/advice/76"; Maybe instead of manually testing and changing that line, we could set up a JS test that would get that advice and test if that problematic character renders correctly? |
The correctly displayed word should be Jägermeister
Software
I was unable to determine if the issue occurs on other browsers and devices, it's hard to track and debug it given the randomized nature.
The text was updated successfully, but these errors were encountered: