From c9e6302172102ec7eba7cdc439b63009491238df Mon Sep 17 00:00:00 2001 From: David M Date: Tue, 27 Mar 2007 23:22:04 +0000 Subject: #5330 git-svn-id: file:///svn/phpbb/trunk@7235 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/utf/utf_tools.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes') diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php index 4c5b4a8983..7a97857538 100644 --- a/phpBB/includes/utf/utf_tools.php +++ b/phpBB/includes/utf/utf_tools.php @@ -642,7 +642,7 @@ function utf8_str_split($str, $split_len = 1) /** * UTF-8 aware alternative to strcspn -* Find length of initial segment not matching mask +* Find length of initial segment matching the mask * * @author Harry Fuecks */ @@ -739,6 +739,7 @@ function utf8_recode($string, $encoding) case 'iso-8859-15': case 'windows-1251': case 'windows-1252': + case 'cp1252': case 'shift_jis': case 'euc-kr': case 'big5': -- cgit v1.2.1