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
Post a Comment