Daevid Vincent Why is mySQL not respecting foreign characters as different
Sep 26, 2013; 14:44
Daevid Vincent
Why is mySQL not respecting foreign characters as different
How come MySQL is not differentiating between these characters?
SELECT text_id, us, de, es, fr FROM texts WHERE us = fr;
Results in matching here. Notice the difference in the "scene" vs "sc=E8ne"
text_id us es de fr -------------- ------ ------ --------- -------- all_page_scene scene escena Filmszene sc=E8ne
I wold expect this NOT to match.
Do I have to add something to my query to tell MySQL to respect other character sets as different?
CREATE TABLE `texts` ( `text_id` varchar(50) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '', `us` text, `es` text, `de` text, `fr` text, PRIMARY KEY (`text_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
Field Type Collation Null Key Default Extra Privileges Comment ------- ----------- ----------------- ------ ------ ------- ------ ------------------------------- --------- text_id varchar(50) latin1_general_ci NO PRI select,insert,update,references us text utf8_general_ci YES (NULL) select,insert,update,references es text utf8_general_ci YES (NULL) select,insert,update,references de text utf8_general_ci YES (NULL) select,insert,update,references fr text utf8_general_ci YES (NULL) select,insert,update,references
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql
Sep 27
Claudio Nanni Re: Why is mySQL not respecting foreign characters as different
Sep 27, 2013; 00:42
Claudio Nanni
Re: Why is mySQL not respecting foreign characters as different
Sep 27
Anders Karlsson Re: Why is mySQL not respecting foreign characters as different
Sep 27, 2013; 00:48
Anders Karlsson
Re: Why is mySQL not respecting foreign characters as different
Sep 27
Hartmut Holzgraefe Re: Why is mySQL not respecting foreign characters as different
Sep 27, 2013; 10:31
Hartmut Holzgraefe
Re: Why is mySQL not respecting foreign characters as different
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!