Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
Added a test to reproduce this bug in r131. Seems like our parser does not 
handle
unicode strings properly.

Original comment by inder123 on 5 Aug 2008 at 10:14

  • Changed state: Accepted

from google-gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
r134 has some additional tests some of which pass. One thing to note is that 
Gson
will serialize a string with chinese characters correctly, by converting them to
escaped unicode. It would probably be better to convert these to unescaped 
unicode,
but at least it is valid Json.

Original comment by inder123 on 7 Aug 2008 at 11:54

from google-gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
Fixed in r138 by enabling hte parser to treat all input as unicode strings. This
works because we are feeding java strings to the parser, and java strings are 
always
unicode.

Original comment by inder123 on 8 Aug 2008 at 2:04

  • Changed state: Fixed

from google-gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
Issue 80 has been merged into this issue.

Original comment by [email protected] on 12 Dec 2008 at 9:38

from google-gson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.