diff --git a/ChangeLog b/ChangeLog index f957e36cfb..e3f3789b52 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 10 17:30:35 2002 Tanaka Akira + + * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence. + Tue Dec 10 12:01:15 2002 Nobuyoshi Nakada * eval.c (mnew): original class of method defined in module should diff --git a/pack.c b/pack.c index ef540c63f3..d47eaee45a 100644 --- a/pack.c +++ b/pack.c @@ -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 */