diff options
author | bar@mysql.com <> | 2004-06-12 20:36:58 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2004-06-12 20:36:58 +0500 |
commit | cbd3e61c8d41555dfb33bddcb762a9c49ec7ec3e (patch) | |
tree | 2effa345d520890cd93cba2f06b5beae65ae07c2 /strings/ctype-utf8.c | |
parent | c6344b08eaf8b9aa5f618baba334c21d3515345e (diff) | |
download | mariadb-git-cbd3e61c8d41555dfb33bddcb762a9c49ec7ec3e.tar.gz |
Unicode collation algorithm: contraction support.
E.g. 'Ch' is treated as a separate letter in Czech,
not as a combination of C+h.
Diffstat (limited to 'strings/ctype-utf8.c')
-rw-r--r-- | strings/ctype-utf8.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c index 58f684a0f16..dd496aa8fa2 100644 --- a/strings/ctype-utf8.c +++ b/strings/ctype-utf8.c @@ -2098,9 +2098,10 @@ CHARSET_INFO my_charset_utf8_general_ci= to_lower_utf8, /* to_lower */ to_upper_utf8, /* to_upper */ to_upper_utf8, /* sort_order */ + NULL, /* contractions */ + NULL, /* sort_order_big*/ NULL, /* tab_to_uni */ NULL, /* tab_from_uni */ - NULL, /* sort_order_big*/ NULL, /* state_map */ NULL, /* ident_map */ 1, /* strxfrm_multiply */ @@ -2125,9 +2126,10 @@ CHARSET_INFO my_charset_utf8_bin= to_lower_utf8, /* to_lower */ to_upper_utf8, /* to_upper */ to_upper_utf8, /* sort_order */ + NULL, /* contractions */ + NULL, /* sort_order_big*/ NULL, /* tab_to_uni */ NULL, /* tab_from_uni */ - NULL, /* sort_order_big*/ NULL, /* state_map */ NULL, /* ident_map */ 1, /* strxfrm_multiply */ @@ -2173,7 +2175,7 @@ int main() test_mb(cs,(uchar*)str); - pr1;2cintf("orig :'%s'\n",str); + printf("orig :'%s'\n",str); my_caseup_utf8(cs,str,15); printf("caseup :'%s'\n",str); |