mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby.c (proc_options): -U can be followed by other options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
48a303c027
commit
40c08c9ee6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Oct 14 14:11:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (proc_options): -U can be followed by other options.
|
||||
|
||||
Tue Oct 14 13:30:30 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* enc/trans/single_byte.trans: added windows-1252
|
||||
|
|
3
ruby.c
3
ruby.c
|
@ -792,7 +792,8 @@ proc_options(int argc, char **argv, struct cmdline_options *opt)
|
|||
|
||||
case 'U':
|
||||
set_internal_encoding_once(opt, "UTF-8", 0);
|
||||
break;
|
||||
++s;
|
||||
goto reswitch;
|
||||
|
||||
case 'K':
|
||||
if (*++s) {
|
||||
|
|
Loading…
Reference in a new issue