mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Bitkeeper's Tk interface uses UTF8 by default, so mixing charsets in a
single file is a bad practice. tests/mysql_client_test.c: Replace literal characters which don't make sense in UTF8 with ubiquitously- understood numbers.
This commit is contained in:
parent
b2a0d025e3
commit
22da915b62
1 changed files with 3 additions and 2 deletions
|
|
@ -9952,8 +9952,9 @@ static void test_ps_i18n()
|
|||
const char *stmt_text;
|
||||
MYSQL_BIND bind_array[2];
|
||||
|
||||
const char *koi8= "îÕ, ÚÁ ÒÙÂÁÌËÕ";
|
||||
const char *cp1251= "Íó, çà ðûáàëêó";
|
||||
/* Represented as numbers to keep UTF8 tools from clobbering them. */
|
||||
const char *koi8= "\xee\xd5\x2c\x20\xda\xc1\x20\xd2\xd9\xc2\xc1\xcc\xcb\xd5";
|
||||
const char *cp1251= "\xcd\xf3\x2c\x20\xe7\xe0\x20\xf0\xfb\xe1\xe0\xeb\xea\xf3";
|
||||
char buf1[16], buf2[16];
|
||||
ulong buf1_len, buf2_len;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue