diff options
-rw-r--r-- | README.EXT | 5 | ||||
-rw-r--r-- | README.EXT.ja | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT index f7ee0022df..f4e4a20d14 100644 --- a/README.EXT +++ b/README.EXT @@ -231,6 +231,11 @@ rb_usascii_str_new_cstr(const char *ptr) :: Creates a new Ruby string with encoding US-ASCII. +rb_utf8_str_new(const char *ptr, long len) :: +rb_utf8_str_new_cstr(const char *ptr) :: + + Creates a new Ruby string with encoding UTF-8. + rb_str_resize(VALUE str, long len) :: Resizes Ruby string to len bytes. If str is not modifiable, this diff --git a/README.EXT.ja b/README.EXT.ja index 0ab61abcbe..8027512c6a 100644 --- a/README.EXT.ja +++ b/README.EXT.ja @@ -257,6 +257,11 @@ rb_usascii_str_new_cstr(const char *ptr) エンコーディングがUS-ASCIIのRubyの文字列を生成する. +rb_utf8_str_new(const char *ptr, long len) +rb_utf8_str_new_cstr(const char *ptr) + + エンコーディングがUTF-8のRubyの文字列を生成する. + rb_str_resize(VALUE str, long len) Rubyの文字列のサイズをlenバイトに変更する.strの長さは前 |