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

Swedish characters don't show up properly in UI, graphs #974

Closed
mattab opened this issue Sep 8, 2009 · 6 comments
Closed

Swedish characters don't show up properly in UI, graphs #974

mattab opened this issue Sep 8, 2009 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Sep 8, 2009

See attached screenshot. it might be an issue with the way translations are html encoded (should we allow html entities, or force to use native UTF-8 for all characters?), or it might be a bug (missing html decoding before output).

@mattab
Copy link
Member Author

mattab commented Sep 8, 2009

Attachment: Example of broken ui with swedish language
example.jpg

@robocoder
Copy link
Contributor

I'd prefer removing html entities from translations.

Adding an html_entity_decode() to Piwik_Translate should fix it but obviously has some runtime cost.

@robocoder
Copy link
Contributor

Hmmm... might have to rethink this if using < and >.

@mattab
Copy link
Member Author

mattab commented Sep 9, 2009

Maybe the right thing would be to have the graph classes html entity decode the text.

Also, there is an issue with search engine keywords, that maybe shows that there is an issue with encoding these characters.

What was the search engine used that lead to the buggy keyword entry? It is possible to specify a charset for keyword for each search engine, which might help. Read for more info: http://piwik.org/faq/general/#faq_39

@robocoder
Copy link
Contributor

In [1478], fixes #974 Swedish characters don't show up properly in UI, graphs

@robocoder
Copy link
Contributor

In [1534], fixes #1013, refs #974 - html_entity_decode() country and continent translations

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants