[wp-trac] Re: [WordPress Trac] #3843: Smart quote apostrophe ’ results in a permalink URL with %e2%80%99

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 20 00:45:38 GMT 2008


#3843: Smart quote apostrophe ’ results in a permalink URL with %e2%80%99
----------------------------+-----------------------------------------------
 Reporter:  foolswisdom     |        Owner:  anonymous
     Type:  defect          |       Status:  reopened 
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.2      
 Severity:  minor           |   Resolution:           
 Keywords:  slug permalink  |  
----------------------------+-----------------------------------------------
Changes (by noel):

  * priority:  low => normal

Comment:

 This patch should fix the problem - we were treating all unicode as equal
 - when we should have been defining the different categories and removing
 the unicode characters relevant to punctuation, etc.

 This patch simply attaches onto the other sanitize_title functions and
 will probably need to be integrated more fully in the future. As for now,
 it works great for me on all the test cases I threw at it.

 In the future, when all browsers support full unicode characters in the
 URL shouldn't we not be converting them at all? ;)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3843#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list