How to remove accents in MySQL using collation? -


i'd generate url slugs content titles automatically when put them database. i'd make accented characters unaccented.

i tried use convert(title using ascii), replaces accented characters ?s.

mysql uses collation tables match strings this one.

is possible use collation replace characters collation group character?

a collation set of rules determine how data sorted , compared. mean character set. since there no rules defined character corresponds character in set fewer characters, not possible converting character set. have write function, translates each character 1 without accent. table posted quite useful this.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -