1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-21 08:47:42 +03:00
Files
mariadb/mysql-test/r
unknown c7dfc326d4 Bug#28600 Yen sign and overline ujis conversion change
Problem: Unicode->UJIS followed incorrect conversion
rules for U+00A5 YEN SIGN and U+203E OVERLINE,
so these characters were converted to ujis 0x8E5C
and 0x8E7E accordingly.

This behaviour would be correct for a JIS-X-0201 based character set,
but this is wrong for UJIS, which is documented as x-eucjp-unicode-0.9,
and which is based on ASCII for the range U+0000..U+007F.

Fix:
removing JIS-X-0201 conversion rules, making UJIS ASCII compatible.
YEN SIGN and OVERLINE do not have corresponding UJIS characters anymore
and converted to 0x3F QUESTION MARK, throwing a warning in appropriative cases.

This patch also includes a test covering full UJIS->Unicode->UJIS mapping.


sql/field.cc:
  Nicer error message format:
  always use HEX notation when printing warnings about UCS2 values -
  this is more readable.
strings/ctype-ujis.c:
  Removing incorrect Unicode->UJIS mapping.
  MySQL "UJIS" is x-eucjp-unicode-0.9.
mysql-test/r/ctype_ujis_ucs2.result:
  New BitKeeper file ``mysql-test/r/ctype_ujis_ucs2.result''
mysql-test/t/ctype_ujis_ucs2.test:
  New BitKeeper file ``mysql-test/t/ctype_ujis_ucs2.test''
2007-05-30 12:30:15 +05:00
..
2007-03-14 18:18:30 +02:00
2007-03-31 20:27:43 +05:00
2007-04-07 23:16:03 +05:00
2007-04-04 21:35:58 +00:00
2007-03-15 17:35:31 +04:00
2007-03-26 19:15:30 +03:00
2007-04-18 21:39:45 +02:00
2007-03-29 12:45:23 +02:00
2007-04-04 14:19:33 +05:00
2007-04-13 01:52:45 +02:00
2007-04-04 16:58:25 +02:00
2007-04-02 13:57:32 +02:00
2007-03-29 16:11:02 +02:00
2007-04-15 12:16:32 +04:00
2007-03-23 01:04:31 +04:00
2007-04-06 16:06:10 +05:00
2007-03-29 09:08:30 +05:00
2007-03-23 01:04:31 +04:00
2007-04-08 00:05:34 +05:00