Kouhei Sutou
null+****@clear*****
Sun Apr 21 10:05:19 JST 2013
Kouhei Sutou 2013-04-21 10:05:19 +0900 (Sun, 21 Apr 2013) New Revision: 826a2c2048f420e35dad06ca63ec357741bda9e1 https://github.com/groonga/groonga-normalizer-mysql/commit/826a2c2048f420e35dad06ca63ec357741bda9e1 Message: Add missing 2 right shift for 4 bytes character This is a bug but it was not caused. Because no normalization is defined for any 4 bytes UTF-8 characters for now. Modified files: normalizers/mysql.c Modified: normalizers/mysql.c (+1 -1) =================================================================== --- normalizers/mysql.c 2013-04-21 09:57:24 +0900 (4c3bfeb) +++ normalizers/mysql.c 2013-04-21 10:05:19 +0900 (37ef8a2) @@ -98,7 +98,7 @@ decompose_character(const char *rest, int character_length, *page = ((rest[0] & 0x07) << 10) + ((rest[1] & 0x3f) << 4) + - ((rest[2]) & 0x3c); + ((rest[2] & 0x3c) >> 2); *low_code = ((rest[1] & 0x03) << 6) + (rest[2] & 0x3f); break; default : -------------- next part -------------- HTML����������������������������...Download