{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11936","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11936/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11936/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11936/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/11936","id":148609031,"number":11936,"title":"18423353: Problem with stringByReplacingOccurrencesOfString:withString: and OBJECT REPLACEMENT CHARACTER (U+FFFC)","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:other%20bug","name":"classification:other bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/15","html_url":"https://github.com/lionheart/openradar-mirror/milestones/OS%20X%20SDK","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/15/labels","id":1237429,"number":15,"title":"OS X SDK","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":304,"closed_issues":3,"state":"open","created_at":"2015-08-03T02:08:38Z","updated_at":"2016-04-15T09:32:05Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-15T09:32:05Z","updated_at":"2016-04-15T09:32:06Z","closed_at":null,"body":"#### Description\n\nSummary:\nRemoving Object Replacement Characters with [NSString stringByReplacingOccurrencesOfString:withString:] doesn’t seems to work reliable.\n\nSteps to Reproduce:\nI tried to remove the character by replacing them with an empty string:\n\n\tNSString *string = @\"Text \\ufffc\\u20ddC Name\";\n        NSCAssert(string.length == 13, @\"Unexpected string length\");\n        NSLog(@\"BEFORE: \\\"%@\\\"\", string);\n        \n        string = [string stringByReplacingOccurrencesOfString:@\"\\ufffc\"\n                                                   withString:@\"\"];\n\n        NSLog(@\"AFTER: \\\"%@\\\"\", string);\n        NSCAssert(string.length == 12, @\"Unexpected string length\");\n\nThe characters come from the text extraction of the Apple PDF framework.\n\n-\nProduct Version: Mac OS X 10.9.4 (13E28)\nCreated: 2014-09-23T07:39:06.849331\nOriginated: 2014-09-23T09:38:00\nOpen Radar Link: http://www.openradar.me/18423353"}}