Ich habe einige Website-Domains in meiner MySQL-Datenbank, und ich eine Suche, wie unten:Eine seltsame Suchergebnis
mysql [email protected]:webinfo> SELECT * FROM raw_domains_res WHERE Domain='albumudinle.com';
+-----------------+-------+--------+
| Domain | Num | id |
|-----------------+-------+--------|
| albumudinle.com | 3 | 588242 |
| albümüdinle.com | 2 | 592846 |
+-----------------+-------+--------+
2 rows in set
Time: 0.001s
Und in Python, sie sind zwei verschiedene Saiten. Jeder sagt mir warum? Vielen Dank.
Sie 2 Datensätze in der Tabelle, die mit Domain gespeichert werden -> "albumudinle.com" –
Mögliche Duplikat [MySQL Matching Unicode-Zeichen mit Ascii-Version] (http://stackoverflow.com/questions/6552950/mysql-matching-unicode-characters-with-ascii-version) – joshweir