win32/file.c: fix target encoding
* win32/file.c (fix_string_encoding): fix target encoding. the parameter `encoding' is not the target encoding but the original encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e9b8488fe5
commit
c4c78f758f
@ -1,3 +1,9 @@
|
|||||||
|
Fri Jul 26 17:49:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/file.c (fix_string_encoding): fix target encoding. the
|
||||||
|
parameter `encoding' is not the target encoding but the original
|
||||||
|
encoding.
|
||||||
|
|
||||||
Fri Jul 26 14:05:19 2013 Zachary Scott <e@zzak.io>
|
Fri Jul 26 14:05:19 2013 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* ext/fiddle/*: [DOC] More doc on dlopen and RTLD_DEFAULT from r42184
|
* ext/fiddle/*: [DOC] More doc on dlopen and RTLD_DEFAULT from r42184
|
||||||
|
@ -235,7 +235,7 @@ code_page(rb_encoding *enc)
|
|||||||
return INVALID_CODE_PAGE;
|
return INVALID_CODE_PAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define fix_string_encoding(str, encoding) rb_str_conv_enc((str), NULL, (encoding))
|
#define fix_string_encoding(str, encoding) rb_str_conv_enc((str), (encoding), rb_utf8_encoding())
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Replace the last part of the path to long name.
|
Replace the last part of the path to long name.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user