summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2006-08-31 11:14:04 -0400
committerunknown <cmiller@zippy.cornsilk.net>2006-08-31 11:14:04 -0400
commit22da915b62dce66f87bb7e29898d99265b31cfa2 (patch)
tree0c675c625b6ebf4df4d1b5744e263736f23cd065 /tests
parentb2a0d025e3f3dc2a8e9ab83634f542d50c4f99a8 (diff)
downloadmariadb-git-22da915b62dce66f87bb7e29898d99265b31cfa2.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 94034141d81..bb4fb649a44 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -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;