From e4de958704bbb4b0a4adbecc3a9360aae5d73ef5 Mon Sep 17 00:00:00 2001 From: David M Date: Wed, 23 May 2007 23:37:04 +0000 Subject: - Handle ISO-8859-8-i - Renamed two indicies for Oracle support #11457 git-svn-id: file:///svn/phpbb/trunk@7669 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/utf/utf_tools.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'phpBB/includes/utf/utf_tools.php') diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php index f6ed6c3ed5..5a3a22d2ac 100644 --- a/phpBB/includes/utf/utf_tools.php +++ b/phpBB/includes/utf/utf_tools.php @@ -713,6 +713,12 @@ function utf8_recode($string, $encoding) { $encoding = 'cp1252'; } + // convert iso-8859-8-i to iso-8859-8 + else if ($encoding == 'iso-8859-8-i') + { + $encoding = 'iso-8859-8'; + $string = strrev($string); + } // First, try iconv() if (function_exists('iconv')) -- cgit v1.2.1