spray / spray-json

A lightweight, clean and simple JSON implementation in Scala
Apache License 2.0
972 stars 190 forks source link

Decoding of 4-byte UTF-8 characters is not supported in JsonParser #156

Closed markhatton closed 8 years ago

markhatton commented 9 years ago

Decoding of 4-byte UTF-8 characters, including Emoji, is not supported. Such characters resolve to the replacement character "�" (U+FFFD).

jrudolph commented 9 years ago

What? Smilies are broken in spray-json? This must be the saddest bug report ever. ☹

Thanks for taking care of it ☻☺☻

sirthias commented 9 years ago

Yes, surrogate pairs are currently not supported. It shouldn't be hard however, to get this done.

everpeace commented 8 years ago

@sirthias When would we expect that this feature will be released?

In product perspective, I recognize that current spray-json version is 1.3.2 but other spray components' are all 1.3.3. And the previous release of spray-json happened at the this May. Therefore I'm expecting spray-json 1.3.3 will be released soon. Am I right? Moreover, we're using spray-json in our next generation production system and we need this feature.

I hope this feature will be shipped soon. I'm looking forward to hearing your response.

everpeace commented 8 years ago

@sirthias sorry for bothering you. I'm really appreciated if you would reply about when next release happens. Thanks,

sirthias commented 8 years ago

@everpeace The fix for this issue is already in the master branch, however, there are currently no plans for an immediate release. You should be able to use a local snapshot if you really depend on this feature.

everpeace commented 8 years ago

@sirthias Thank you for response! I see I have to use snapshot version. I hope next release will happen soon anyway.