web-remote: utf8 alert

Bug #860876 reported by Gyuris Gellért
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
mahfiaz

Bug Description

When I send an alert message from web-remote or Android with non-ascii characters (for example: "Értesítés" [Hungarian]) it appear as raw data text ("ĂrtesĂ­tĂŠs"). Something is wrong with character encoding.
This does not happen from directly sending.

1) Ubuntu 11.04
2) OpenLP 1.9.7
3) Send az alert message from web-remote or Android client with non ascii characters.

Related branches

Tim Bentley (trb143)
Changed in openlp:
milestone: none → 1.9.8
assignee: nobody → Tim Bentley (trb143)
status: New → Fix Released
Revision history for this message
Gyuris Gellért (gellert-gyuris) wrote :

The bug is still there + crashed.
Ubuntu oneiric - OpenLP 1.9.7 build bzr1782

Tim Bentley (trb143)
Changed in openlp:
status: Fix Released → In Progress
Changed in openlp:
importance: Undecided → Medium
Tim Bentley (trb143)
Changed in openlp:
assignee: Tim Bentley (trb143) → nobody
Revision history for this message
Gyuris Gellért (gellert-gyuris) wrote :

Hi, some help: I tested httpserver.py
I this line: "text = json.loads(self.url_params[u'data'][0])[u'request'][u'text']" the text variable is already created with wrong encoding. I hope this helps.

Plus: In search function this bug also occurs. I think, JSON text parsing is wrong.

Revision history for this message
mahfiaz (mahfiaz) wrote :

Thanks Gyuris, this lead me straight to the point.

Changed in openlp:
assignee: nobody → mahfiaz (mahfiaz)
Revision history for this message
Gyuris Gellért (gellert-gyuris) wrote :

Yes, yes, yes! :-) With that patch it works for me (alert and search, to). Many thanks!

Changed in openlp:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.