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/changelog.html | 1 +
user_guide/helpers/text_helper.html | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 95b1e6ccd..bd2099937 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -100,6 +100,7 @@ Hg Tag:
Helpers
+ - Added convert_accented_characters() function to text helper.
- Added accept-charset to the list of inserted attributes of form_open() in the Form Helper.
- Deprecated the dohash() function in favour of do_hash() for naming consistency.
- Non-backwards compatible change made to get_dir_file_info() in the File Helper. No longer recurses
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