From 1a19592c5dca055b857177ed35a10294dded78ee Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 10 Mar 2010 14:22:59 -0600 Subject: added docs for convert_accented_characters() in the Text Helper --- user_guide/helpers/text_helper.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'user_guide/helpers/text_helper.html') 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

This function does the opposite of the previous one; it turns character entities back into ASCII.

+

convert_accented_characters()

+ +

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.

+ +$string = convert_accented_characters($string); + +

This function uses a companion config file system/application/config/foreign_chars.php to define the to and from array for transliteration.

word_censor()

-- cgit v1.2.3-24-g4f1b