Differences
This shows you the differences between the selected revision and the current version of the page.
troubleshooting:seo 2009/01/29 16:08 | troubleshooting:seo 2009/11/05 07:50 current | ||
---|---|---|---|
Line 23: | Line 23: | ||
- | ===== Foreign Characters ===== | + | ===== Change Log ===== |
- | This is just for internal reference: | + | |
- | <code> | + | ==== v2.1.0 ==== |
- | function convert_accented_characters($string) | + | |
- | { | + | * Release Date: This version was released on November 05, 2009. |
- | $before=array( | + | * Changes: Added better support for foreign characters. |
- | "á","Á","ã","Ã", | + | |
- | "â","Â","à","À", | + | |
- | "é","É","ê","Ê", | + | |
- | "í","Í","ó","Ó", | + | |
- | "õ","Õ","ô","Ô", | + | |
- | "ú","Ú","ü","Ü", | + | |
- | "ç","Ç","ä","ö","ß"); | + | |
- | $after=array( | + | |
- | "a","A","a","A", | + | |
- | "a","A","a","A", | + | |
- | "e","E","e","E", | + | |
- | "i","I","o","O", | + | |
- | "o","O","o","O", | + | |
- | "u","U","ue","U", | + | |
- | "c","C","ae","oe","ss"); | + | |
- | return str_replace($before,$after,$string); | + | |
- | } | + | |
- | </code> | + |
Have more questions? Visit our community forums.