96
96
Detect whether a character set is ASCII compatible.
100
100
- all 8bit character sets whose Unicode mapping of 0x7B is '{'
101
101
(ignores swe7 which maps 0x7B to "LATIN LETTER A WITH DIAERESIS")
103
103
- all multi-byte character sets having mbminlen == 1
104
104
(ignores ucs2 whose mbminlen is 2)
108
108
When merging to 5.2, this function should be changed
111
111
return (cs->flag & MY_CS_NONASCII) ? 0 : 1;
113
113
This flag was previously added into 5.2 under terms
114
114
of WL#3759 "Optimize identifier conversion in client-server protocol"
115
115
especially to mark character sets not compatible with ASCII.
117
117
We won't backport this flag to 5.0 or 5.1.
118
118
This function is Ok for 5.0 and 5.1, because we're not going
119
119
to introduce new tricky character sets between 5.0 and 5.2.