我想指定jx-RS使用UTF-32?
我用ê,é......等字母例外:
引起:com.fasterxml.jackson.core.JsonParseException:无效的UTF-8中间字节0x22 在[来源:java.io.ByteArrayInputStream@7b7cef85; line:1,专栏:3219] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1581)~ [jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:533)〜[jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidOther(UTF8StreamJsonParser.java:3473)~ [jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidOther(UTF8StreamJsonParser.java:3480)~ [jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.json.UTF8StreamJsonParser._decodeUtf8_2(UTF8StreamJsonParser.java:3254)〜[jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2462)〜[jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2414)〜[jackson-core-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:285)〜[jackson-core-2.6.3.jar!/:2.6.3] at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:32)〜[jackson-databind-2.6.3.jar!/:2.6.3] at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)〜[jackson-databind-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)〜[jackson-databind-2.6.3.jar!/:2.6.3] 在com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)〜[jackson-databind-2.6.3.jar!/:2.6.3] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:258)~ [jackson-databind-2.6.3.jar!/:2.6.3]
谢谢