[wp-trac] [WordPress Trac] #10543: Incorrect (non-UTF-8) character handling in tag's name and slug
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 17 15:54:53 UTC 2009
#10543: Incorrect (non-UTF-8) character handling in tag's name and slug
--------------------------+-------------------------------------------------
Reporter: sirzooro | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Taxonomy | Version: 2.8.2
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by sirzooro):
miqrogroove,
You can try to add following code somewhere early in WP code, e.g. in wp-
config.php:
{{{$_POST['tags_input'] = mb_convert_encoding( 'ace ąćę ace',
'iso-8859-2', 'utf-8' );}}}
This code will inject tags with incorrect encoding to the $_POST array.
Make sure you save file with utf-8 encoding. With this you should be able
to reproduce issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10543#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list