Title: Thjons's Replies | WordPress.org

---

# Thjons

  [  ](https://wordpress.org/support/users/thjons/)

 *   [Profile](https://wordpress.org/support/users/thjons/)
 *   [Topics Started](https://wordpress.org/support/users/thjons/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thjons/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thjons/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thjons/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thjons/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thjons/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Qtranslate Slug] permalink for other languages](https://wordpress.org/support/topic/permalink-for-other-languages/)
 *  [Thjons](https://wordpress.org/support/users/thjons/)
 * (@thjons)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/permalink-for-other-languages/#post-5065061)
 * Found this solution helpful for Icelandic: I dug around the WordPress code and
   found the replacement function. It’s called remove_accents and is in the file
   wp-includes/formatting.php. There, right before the line “// Decompositions for
   Latin Extended-A” I added the following code:
 * chr(195).chr(144) => ‘D’, chr(195).chr(176) => ‘d’,
    chr(195).chr(158) => ‘TH’,
   chr(195).chr(190) => ‘th’, chr(195).chr(134) => ‘AE’,chr(195).chr(166) => ‘ae’,
 * Now the characters are replaced automatically like this: Ð => D, ð => d, Þ =>
   TH, þ => th, Æ => AE, æ => ae. I don’t know if everyone has this problem, or 
   if it just has to do with the character set settings on my webhost but this works
   great for me. No more manually fixing page slugs!

Viewing 1 replies (of 1 total)