Created
October 1, 2012 14:00
-
-
Save bjornbjorn/3811948 to your computer and use it in GitHub Desktop.
Norwegian URL titles conversion array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Make sure url-titles look good for non-english entries also | |
*/ | |
public function on_foreign_character_conversion_array() | |
{ | |
return array( | |
'216' => 'o', // ø | |
'248' => 'o', // Ø | |
'198' => 'a', // æ | |
'230' => 'a', // Æ | |
'187' => 'a', // å | |
'229' => 'a', // Å | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment