← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8899: mobile: added charset=UTF-8 to content-type of message-reply

 

------------------------------------------------------------
revno: 8899
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-11-06 11:40:27 +0100
message:
  mobile: added charset=UTF-8 to content-type of message-reply
modified:
  dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/message.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/message.vm'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/message.vm	2012-10-30 15:35:11 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/message.vm	2012-11-06 10:40:27 +0000
@@ -25,7 +25,7 @@
             $.ajax({
                 url         : '$baseUrl/../api/messageConversations/${messageId}',
                 type        : 'post',
-                contentType : 'text/plain',
+                contentType : 'text/plain; charset=UTF-8',
                 data        : msg
             }).success(function () {
                 $.mobile.hidePageLoadingMsg();