Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2261

java: error: unmappable character for encoding ASCII

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • Java - Library, Test Suite
    • None

    Description

      i have some issues with the TestTSimpleJSONProtocol:

          [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
      

      any idea

      Attachments

        1. THRIFT-2261.patch
          0.7 kB
          Roger Meier

        Issue Links

          Activity

            People

              roger Roger Meier
              roger Roger Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: