mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
* ext/curses/curses.c: curses encoding should obey locale.
* ext/curses/curses.c (curses_getch): 1.9 getch should return one character string for single byte string. wchar_t support may follow in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
551dfe9d8b
commit
80d16e7403
5 changed files with 77 additions and 17 deletions
|
@ -378,6 +378,7 @@ VALUE rb_str_export(VALUE);
|
|||
SafeStringValue(v);\
|
||||
(v) = rb_str_export(v);\
|
||||
} while (0)
|
||||
VALUE rb_str_export_locale(VALUE);
|
||||
|
||||
VALUE rb_get_path(VALUE);
|
||||
#define FilePathValue(v) ((v) = rb_get_path(v))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue