You will have to delete the duplicate records from the database.
Please note that when using a _general_ci collation, the diacritics are stripped from the indexed characters. So 'e' is the same as any variant with accents or diacritics as far as indexes or queries are concerned. When using diacritics, you should use the _swedish_ci or _unicode_ci collation variants if you want to index them and possibly support multiple languages.
Announcement
Collapse
No announcement yet.
Problems with diacritics after website hacked and restoring the db
Collapse
X
-
I am not writing any queries, I am giving the command from phpmyadmin> operations > change collation... so the problem is the duplicate entry in the DB for key name_lang_type.
Leave a comment:
-
You're missing a comma after utf8 in your query. However, this appears to be something that you need to take up with your hosting provider since their server configuration is preventing you from changing the character set and collation of your database.
Instead of converting to utf8_general_ci, you should convert to utf8mb4_swedish_ci if you wish to support diacritics now and in the future. Your character set should be utf8mb4
Leave a comment:
-
Problems with diacritics after website hacked and restoring the db
Hello,
After the hacking issue, it seems I am having an issue with the special characters and diacritics, after restoring DB. Collation seems to be at uff8_general_ci. In the language manager is also set to UTF8. In the my.cnf file also added the client and mysql default-character-set=utf8.
The issue is all the time when I try to post diacritics, it shows me like that. I have also other 3 vbulletins forum on the same server, and are working fine. Can you please assist?
When I try to change the collation for the whole database from phpmyadmin and operations, at the phrase tabel I am receiving this error. The error doesn't occur when I am unchecking the last check from this picture.2 PhotosTags: None
Related Topics
Collapse
-
by mark.hsI saw in Wayne's October article on mysql best practices that he recommends a database character set of utf8mb4 and a collation of utf8mb4_general_ci. From what I read online, most people recommend utf8mb4_unicode_ci;...
-
Channel: Support Issues & Questions
Mon 12 Nov '18, 1:09am -
-
by plongeur.comHi everyone.
I am trying to migrate my forum tu utf8 and i have somme issues.
A little history : the forum is online since 2003 and is now in 5.2.5. The test server i am using is in...-
Channel: Support Issues & Questions
Wed 7 Jun '17, 5:24am -
-
I have tables created with vb3 that is Latin1-swedish and new tables created with vb5 that is UTF8
Is there any guide how to convert everything to UTF8? I have big problems using Tapatalk...-
Channel: Support Issues & Questions
Thu 25 Feb '16, 1:24pm -
Leave a comment: