Unicode characters in EmbeddedHTML element
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When we put some strange signs in server in EmbeddedHTML page element (for example polish symbols łóąćń) we get error and nothing will show up in client.
Solution change in client BrowserMediaBase.py file lines:
tmpHtml = tmpHtml.
to
tmpHtml = tmpHtml.
similar
tmpHtml = tmpHtml.
change to
tmpHtml = tmpHtml.
I think the same problem occur when we want to put strange symbols in other element (such as text). But I didn't investigate how to correct it.
Changed in xibo: | |
status: | Incomplete → Invalid |
Doing that breaks other character sets.
If you ensure your content is UTF-8 encoded before you enter it in the system you'll find it works without modification.
If it doesn't, the default locale for your PHP is probably incorrectly set.
Alex