mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Fix character encoding issue
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user