> Can you explain a bit why and when someone might call this function with
> these characters?
I custom a plugin in my project, Its function is to get data from the network
and return it to JavaScript.I call `sendPluginResult:callbackId:` like this:
```
// fetch from network, may contain \u2028 or \u2029
NSString *data = @"...\u2028...";
CDVPluginResult* pluginResult = [CDVPluginResult
resultWithStatus:CDVCommandStatus_OK messageAsString:data];
[self.commandDelegate sendPluginResult:pluginResult callbackId:aCallBackId];
```
> Are those the only ones that could be problematic?
Sorry,I am not sure about this problem.But I find a
[table](http://tools.jb51.net/table/javascript_escape) about js special
characters,and [some discussion about this
issue](https://stackoverflow.com/questions/2965293/javascript-parse-error-on-u2028-unicode-character).I
verified these special characters.Only these two characters have problems
[ Full content available at: https://github.com/apache/cordova-ios/pull/403 ]
This message was relayed via gitbox.apache.org for [email protected]