diff --git a/dbms/tests/queries/0_stateless/01026_char_utf8.reference b/dbms/tests/queries/0_stateless/01026_char_utf8.reference new file mode 100644 index 00000000000..c9d966bc163 --- /dev/null +++ b/dbms/tests/queries/0_stateless/01026_char_utf8.reference @@ -0,0 +1,2 @@ +привет +привет diff --git a/dbms/tests/queries/0_stateless/01026_char_utf8.sql b/dbms/tests/queries/0_stateless/01026_char_utf8.sql new file mode 100644 index 00000000000..d6a0de7448b --- /dev/null +++ b/dbms/tests/queries/0_stateless/01026_char_utf8.sql @@ -0,0 +1,2 @@ +SELECT char(0xD0, 0xBF, 0xD1, 0x80, 0xD0, 0xB8, 0xD0, 0xB2, 0xD0, 0xB5, 0xD1, 0x82) AS hello; +SELECT char(-48,-65,-47,-128,-48,-72,-48,-78,-48,-75,-47,-126) AS hello;