1#
2# BUG #24037: Lossy Hebrew to Unicode conversion
3#
4# Test if LRM and RLM characters are correctly converted to UTF-8
5--disable_warnings
6DROP TABLE IF EXISTS t1;
7--enable_warnings
8
9SET NAMES hebrew;
10CREATE TABLE t1 (a char(1)) DEFAULT CHARSET=hebrew;
11INSERT INTO t1 VALUES (0xFD),(0xFE);
12ALTER TABLE t1 CONVERT TO CHARACTER SET utf8;
13SELECT HEX(a) FROM t1;
14DROP TABLE t1;
15
16--echo End of 4.1 tests
17