Commit 530ebd52 authored by Mickaël Turnel's avatar Mickaël Turnel

Fix usage of NSUTF8StringEncoding

parent ff023282
......@@ -34,7 +34,7 @@ static NSStringEncoding getDefaultStringEncoding (const char *encoding) {
defaultEncoding = bctbx_get_default_encoding();
if (!strcmp(defaultEncoding, "UTF-8"))
return [NSString NSUTF8StringEncoding];
return NSUTF8StringEncoding;
if (!strcmp(defaultEncoding, "locale")) {
return [NSString defaultCStringEncoding];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment