You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2019. It is now read-only.
Strings such as später are being encoded as sp‰ter
Possible Solution:
replace
default:
-- [jsonString appendFormat:@"%c", nextChar];
++ [jsonString appendString:[NSString stringWithCharacters:&nextChar length:1]];
break;
or
default:
if (nextChar >0x7e){
[jsonString appendFormat: @"\u%04x", nextChar];
}
else {
[jsonString appendFormat:@"%c", nextChar];
}
Former will place the unicode char into the string itself (eg später)
latter will escape the unicode char (eg sp\u00e4ter)