Opened 9 years ago
Closed 6 years ago
#33731 closed defect (bug) (invalid)
Post's tags do not support accented characters
Reported by: | Cimmo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3 |
Component: | Taxonomy | Keywords: | reporter-feedback |
Focuses: | Cc: |
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
@
9 years ago
- Component changed from Posts, Post Types to Taxonomy
- Summary changed from Post's tags do not support accented charactars to Post's tags do not support accented characters
#3
follow-up:
↓ 6
@
9 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
@
9 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
@
9 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
@
9 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?
@
9 years ago
check at sql level BINARY
will let the cateogry szél
be added even if the category szel
category is added
#10
@
9 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
@
9 years ago
Replying to swissspidy:
Really sounds like something's off with the database config.
What about the collation of thename
field in thewp_terms
table? This should beutf8mb4_unicode_ci
too. 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
@
9 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?
#14
@
8 years ago
@Cimmo Is this still an issue on your site? Have you tried updating the .htaccess
file like suggested above?
#15
@
6 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
As it appears that this problem is due to a charset configuration issue, and since the ticket hasn't been confirmed since the last update several years ago, I believe the ticket is safe to close.
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?