You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2013/11/17 18:31:24 UTC

[jira] [Resolved] (THRIFT-2261) java: error: unmappable character for encoding ASCII

     [ https://issues.apache.org/jira/browse/THRIFT-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier resolved THRIFT-2261.
---------------------------------

    Resolution: Fixed
      Assignee: Roger Meier

committed

> java: error: unmappable character for encoding ASCII
> ----------------------------------------------------
>
>                 Key: THRIFT-2261
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2261
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library, Test Suite
>         Environment: java version "1.7.0_25"
> OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> Linux chaos 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux
> Debian squeeze
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>         Attachments: THRIFT-2261.patch
>
>
> i have some issues with the TestTSimpleJSONProtocol:
> {noformat}
>     [javac] lib/java/test/org/apache/thrift/protocol/TestTSimpleJSONProtocol.java:56: error: unmappable character for encoding ASCII
>     [javac]     assertEquals("{\"my_bonk\":{\"type\":31337,\"message\":\"I am a bonk... xor!\"},\"my_ooe\":{\"im_true\":1,\"im_false\":0,\"a_bite\":-42,\"integer16\":27000,\"integer32\":16777216,\"integer64\":6000000000,\"double_precision\":3.141592653589793,\"some_characters\":\"JSON THIS! \\\"\\u0001\",\"zomg_unicode\":\"??????? ???????????????????? ??tt?????????????\",\"what_who\":0,\"base64\":\"base64\",\"byte_list\":[1,2,3],\"i16_list\":[1,2,3],\"i64_list\":[1,2,3]}}", bufToString());
>     [javac]                                                                                                                                                                                                                                                                                                                                          ^
>     [javac] 100 errors
> {noformat}
> any idea



--
This message was sent by Atlassian JIRA
(v6.1#6144)