diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-10 08:32:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-10 08:32:54 +0000 |
commit | ee3ba0889dc6ee335ca05e0543ef9f4c1cb8e514 (patch) | |
tree | 57e5406cd7197bb929de59974afb60c28766e468 | |
parent | 9ef84c89f352ac8cb0a9db6661880f3a9ef9e1e3 (diff) | |
download | ruby-ee3ba0889dc6ee335ca05e0543ef9f4c1cb8e514.tar.gz ruby-ee3ba0889dc6ee335ca05e0543ef9f4c1cb8e514.tar.xz ruby-ee3ba0889dc6ee335ca05e0543ef9f4c1cb8e514.zip |
* pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | pack.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Dec 10 17:30:35 2002 Tanaka Akira <akr@m17n.org> + + * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence. + Tue Dec 10 12:01:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> * eval.c (mnew): original class of method defined in module should @@ -1840,7 +1840,7 @@ static const long utf8_limits[] = { 0x0, /* 1 */ 0x80, /* 2 */ 0x800, /* 3 */ - 0x1000, /* 4 */ + 0x10000, /* 4 */ 0x200000, /* 5 */ 0x4000000, /* 6 */ 0x80000000, /* 7 */ |