Fix character encoding issue

This commit is contained in:
burke.davey
2011-07-12 16:25:45 +00:00
parent c91a909590
commit ab87cf988b
3 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ public class RequestInfo {
} }
} }
if ("application/json".equals(req.getContentType())) { if (req.getContentType().startsWith("application/json")) {
Reader reader = req.getReader(); Reader reader = req.getReader();
// where is readFully ? // where is readFully ?
char[] tmp = new char[2048]; char[] tmp = new char[2048];

View File

@@ -16,7 +16,7 @@
--> -->
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>chrometophone</application> <application>chrometophone</application>
<version>9</version> <version>10</version>
<system-properties> <system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/> <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties> </system-properties>

View File

@@ -88,7 +88,7 @@ function sendToPhone(title, url, msgType, selection, listener) {
'body': data, 'body': data,
'headers': { 'headers': {
'X-Same-Domain': 'true', 'X-Same-Domain': 'true',
'Content-Type': 'application/json' 'Content-Type': 'application/json;charset=UTF-8'
} }
}); });
return; return;