[wp-trac] [WordPress Trac] #7095: Japanese Tag Slugs

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 5 02:15:47 GMT 2008


#7095: Japanese Tag Slugs
---------------------+------------------------------------------------------
 Reporter:  kiwizz   |       Owner:  anonymous                  
     Type:  defect   |      Status:  new                        
 Priority:  high     |   Milestone:  2.7                        
Component:  General  |     Version:  2.5.1                      
 Severity:  major    |    Keywords:  Japanese, Slug, Tag, Broken
---------------------+------------------------------------------------------
 I know when you type in Japanese Wordpress will change the slug to some
 encoded link similar to "%e3%83%86%e3%82%b9%e3%83%88" My issue is that the
 link brings up a page not found error - but not always. the tag テスト has
 this slug http://blogger-off.com/tag/%e3%83%86%e3%82%b9%e3%83%88/ and that
 works.

 However if I use this tag 天戸中学校 the slug becomes http://blogger-
 off.com/tag/%e5%a4%a9%e6%88%b8%e4%b8%ad%e5%ad%a6%e6%a0%a1/ and I get a 404
 not found error. Also, if I manually change the tag slug to an English
 link they work, but when I tag a new post Wordpress creates a copy of the
 tag and uses the original http://blogger-
 off.com/tag/%e5%a4%a9%e6%88%b8%e4%b8%ad%e5%ad%a6%e6%a0%a1/

 Hope this is comprehendable. Maybe an example will help.

 1. I create a new post and tag it with 天戸中学校 - Wordpress then creates a
 slug of http://blogger-
 off.com/tag/%e5%a4%a9%e6%88%b8%e4%b8%ad%e5%ad%a6%e6%a0%a1/
  which is a 404 page not found link.
 2. I then go into the tag management and change the slug to http
 ://blogger-off.com/tag/amadochuugakkou/ and all is well.
 3. I have a new post and tag it with the same tag 天戸中学校 - Wordpress
 doesn't recognize that the tag already exists and then creates another
 tag, with the original slug (the 404 link)
 4. I end up with two tags with different slugs. The first post has a
 working tag/slug while the second post does not

 cannot tag more than one post with Japanese unless I leave the tag slug
 unchanged until I have tagged all the posts, then change the slug to
 English. This is fine unless I tag a new post - I have to go back and
 remove all the tags and then retag them with the broken slug tag, then
 rename the slug.

 Very confusing.

 Oh, and there is one other thing. I'm not sure if its a browser issue or a
 server issue or a Wordpress issue, but if you look at the page title (top
 of browser window) when viewing a Japanese tag, its also borked. Strange
 thing is all the Japanese post titles and slugs work perfect - its just
 the tags that are all crazy.

 Thanks.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7095>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list