summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-19 04:55:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-19 04:55:21 +0000
commit990845662cd4284a73ecc926c33cd1c8efb82354 (patch)
tree338ef570be0c047ce623afc9c4cac96446f6b7de /README.EXT
parent445086e56b4c847610506cf6bb072ef928329355 (diff)
downloadbundler-990845662cd4284a73ecc926c33cd1c8efb82354.tar.gz
README.EXT: utf-8 string functions
* README.EXT (String Functions): rb_utf8_str_new() and rb_utf8_str_new_cstr(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT5
1 files changed, 5 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