summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-03-10 21:22:59 +0100
committerDerek Jones <derek.jones@ellislab.com>2010-03-10 21:22:59 +0100
commit1a19592c5dca055b857177ed35a10294dded78ee (patch)
tree7aa622c6a4fc8a7f9330fb343b506e6d1418cf92 /user_guide/helpers
parentad1171a6797dc0054381327fb26a9e9e232a639e (diff)
added docs for convert_accented_characters() in the Text Helper
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/text_helper.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/user_guide/helpers/text_helper.html b/user_guide/helpers/text_helper.html
index c80300c8b..9e8f8f5e1 100644
--- a/user_guide/helpers/text_helper.html
+++ b/user_guide/helpers/text_helper.html
@@ -115,6 +115,13 @@ part it should correctly identify characters outside the normal range (like acce
<p>This function does the opposite of the previous one; it turns character entities back into ASCII.</p>
+<h2>convert_accented_characters()</h2>
+
+<p>Transliterates high ASCII characters to low ASCII equivalents, useful when non-English characters need to be used where only standard ASCII characters are safely used, for instance, in URLs.</p>
+
+<code>$string = convert_accented_characters($string);</code>
+
+<p>This function uses a companion config file <dfn>system/application/config/foreign_chars.php</dfn> to define the to and from array for transliteration.</p>
<h2>word_censor()</h2>