diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -239,6 +239,8 @@ rb_str_encode_ospath(VALUE path) if (enc != utf8) { path = rb_str_conv_enc(path, enc, utf8); } +#elif defined __APPLE__ + path = rb_str_conv_enc(path, NULL, rb_utf8_encoding()); #endif return path; } |