Data encoding UTF8
apikas opened this issue · comments
Anders Pikas commented
The method dataFromYAML in YAMLSerialization.m uses UTF8 until the last statement, when it suddenly uses NSUnicodeStringEncoding. This seems odd. I wanted UTF8 and changed to:
return [data dataUsingEncoding:NSUTF8StringEncoding]
Maybe the YAMLWriteOptions should include encodings?
Mirek Rusin commented
Fixed, thanks.