summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-22 22:16:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-22 22:16:19 +0000
commitd124fa3a35c3f9261484ba4311cb14f60a598cce (patch)
tree2ed4dd928aa40f388b2b46178fdc49aba1ceba5d
parent0c9d4525f619d0e27cb55f8b97acc69186dfeb6c (diff)
string.c: suppress a warning
* string.c (rb_str_casecmp_p): [DOC] use Unicode escape form to get rid of warning C4819 by Microsoft Visual C++. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index f9a93fd9c7..242ebb9f05 100644
--- a/string.c
+++ b/string.c
@@ -3210,7 +3210,7 @@ rb_str_casecmp(VALUE str1, VALUE str2)
* "aBcDeF".casecmp?("abcdef") #=> true
* "abcdef".casecmp?("abcdefg") #=> false
* "abcdef".casecmp?("ABCDEF") #=> true
- * "äöü".casecmp?("ÄÖÜ") #=> true
+ * "\u{e4 f6 fc}".casecmp?("\u{c4 d6 dc}") #=> true
*/
static VALUE