rudolph-miller / jonathan

JSON encoder and decoder.
http://rudolph-miller.github.io/jonathan/overview.html
164 stars 24 forks source link

Unicode surrogate parsing was fixed. #53

Closed svetlyak40wt closed 6 years ago

svetlyak40wt commented 6 years ago

Previously, jonathan considered the length of escaped surrogate pair is 11, but actually it is 10. Because of this error, jonathan eat the character followed the surrogate pair or raised an error if there is another surrogate pair goes right after the first one.

This pull fixes issue #52 Also, it includes pull #37

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 71.186% when pulling 68ebf44450fcbb2a1c188f9167c9fb2a84a598e8 on svetlyak40wt:fix-unicode-surrogate-parsing into 19ecf3ec4ffae6d95a2a92e22e0b525040807199 on Rudolph-Miller:master.

svetlyak40wt commented 6 years ago

@Rudolph-Miller how about merging this pull?

svetlyak40wt commented 6 years ago

@Rudolph-Miller any news?

rudolph-miller commented 6 years ago

Thanks! :octocat: