diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-18 10:36:20 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-18 10:36:20 +0000 |
| commit | 4fa2318b6f166bb16fd21901b7027647ae953d27 (patch) | |
| tree | cd0f721ca0e03ccec39353962869b9a6e8477c93 /test/ruby/test_rubyoptions.rb | |
| parent | 30fc916ecc75b3933530e6c97353681b7b3b4d47 (diff) | |
| download | ruby-4fa2318b6f166bb16fd21901b7027647ae953d27.tar.gz ruby-4fa2318b6f166bb16fd21901b7027647ae953d27.tar.xz ruby-4fa2318b6f166bb16fd21901b7027647ae953d27.zip | |
* string.c (rb_external_str_new): a new function to convert from
external encoding to internal encoding. if something went
wrong, it returns a string with the external encoding.
* string.c (rb_external_str_new_with_enc): same as above besides
you can specify the source encoding.
* ruby.c (ruby_set_argv): use rb_external_str_new()
* ruby.c (set_arg0, ruby_script): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions
