What steps will reproduce the problem?
1. Serve a json response containing unicode character \u2028
2. In javascript, eval("(" + jsonResult + ")")
What is the expected output?
json is correctly parsed
What do you see instead?
SyntaxError -unterminated string literal
What version of the product are you using? On what operating system?
Firefox and chrome
See also:
http://bulknews.typepad.com/blog/2009/02/json-jquery-and-some-unicode-characters
-u2028.html
https://issues.apache.org/jira/browse/SOLR-1936
Original issue reported on code.google.com by cb...@google.com on 6 Jul 2011 at 6:45
Original issue reported on code.google.com by
cb...@google.com
on 6 Jul 2011 at 6:45