Opened 11 years ago
Closed 7 years ago
#33731 closed defect (bug) (invalid)
Post's tags do not support accented characters
| Reported by: | Cimmo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 4.3 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: |
Description
WordPress 4.3
Steps:
- create a post
- add a tag that contains accented letter like 'ü'
- save
Result:
- tags do not support utf-8 correctly? accented letter is corrupted
Expected result:
- tags correctly support utf-8 and accented letters
Attachments (5)
Change History (20)
#1
@
11 years ago
- Component Posts, Post Types → Taxonomy
- Summary Post's tags do not support accented charactars → Post's tags do not support accented characters
#3
follow-up:
↓ 6
@
11 years ago
You are right, just that letter works, try this tag 'Üürikomisjoni' and save the post.
Anyway:
All tables are:
Database: MyISAM
Collection: utf8mb4_unicode_ci
Database was defaulted to latin1_swedish_ci not sure why, I changed it now to utf8mb4_unicode_ci and the problem persists.
#4
@
11 years ago
"Üürikomisjoni" works too: 33731.2.png.
Does the issue still happen with all plugins disabled and a default theme (Twenty Fifteen or Twenty Fourteen) activated?
#5
@
11 years ago
This is with twenty fourteen theme and deactivated all plugins. Still reproduces.
To be mentioned that in the post itself the problem does not reproduce, only on tags.
#6
in reply to: ↑ 3
;
follow-up:
↓ 11
@
11 years ago
- Keywords reporter-feedback added
Replying to Cimmo:
All tables are:
Database: MyISAM
Collection: utf8mb4_unicode_ci
Database was defaulted to latin1_swedish_ci not sure why, I changed it now to utf8mb4_unicode_ci and the problem persists.
Really sounds like something's off with the database config.
What about the collation of the name field in the wp_terms table? This should be utf8mb4_unicode_ci too. Which version of MySQL are you using?
@
11 years ago
The category szél should be added but it is denying the because of the category szel.
@
11 years ago
check at sql level BINARY will let the cateogry szél be added even if the category szel category is added
#10
@
11 years ago
- Keywords has-patch dev-feedback needs-unit-tests removed
@mehulkaklotar, could you move the patch over to #33864?
This ticket seems to be unrelated and looks more like a configuration issue (broken encoding for AJAX requests).
#11
in reply to: ↑ 6
;
follow-up:
↓ 13
@
11 years ago
Replying to swissspidy:
Really sounds like something's off with the database config.
What about the collation of thenamefield in thewp_termstable? This should beutf8mb4_unicode_citoo. Which version of MySQL are you using?
'name' has utf8mb4_unicode_ci collation
MySQL 5.5.44
Anything wrong with it?
#13
in reply to: ↑ 11
@
11 years ago
Replying to Cimmo:
'name' has utf8mb4_unicode_ci collation
MySQL 5.5.44
Anything wrong with it?
Nope. Could you try adding AddDefaultCharset utf-8 at the top of your .htaccess file and see if that helps?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @Cimmo, thanks for the report.
I could not reproduce the issue, the tag is displayed correctly after saving: 33731.png.
What is the database collation on your install?