From 52b3e3b97f42498c1f30984cb1e174422c235c80 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 20 Oct 2008 07:15:19 +0000 Subject: * string.c (rb_locale_str_new): new function to convert string from locale to internal encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 8e38217aac..6472ee8ced 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -547,6 +547,7 @@ VALUE rb_tainted_str_new_cstr(const char*); VALUE rb_tainted_str_new(const char*, long); VALUE rb_tainted_str_new2(const char*); VALUE rb_external_str_new(const char*, long); +VALUE rb_locale_str_new(const char*, long); VALUE rb_str_buf_new(long); VALUE rb_str_buf_new_cstr(const char*); VALUE rb_str_buf_new2(const char*); -- cgit v1.2.3