Revision 757
Added by thorn over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
14 |
17-Mar-2008 Thomas Hornik |
|
15 |
# fixed an issue with utf8_check() (too slow with many ~100KB pages) |
|
14 | 16 |
15-Mar-2008 Thomas Hornik |
15 | 17 |
# menulink: link can be menulink or subpage of menulink, too |
16 | 18 |
# call_captcha: added parameter 'style', fixed some issue with parameter 'image' and text-style captchas |
trunk/wb/framework/functions-utf8.php | ||
---|---|---|
1070 | 1070 |
*/ |
1071 | 1071 |
function entities_to_umlauts2($string, $charset_out=DEFAULT_CHARSET) { |
1072 | 1072 |
$string = charset_to_utf8($string, DEFAULT_CHARSET); |
1073 |
if(utf8_check($string))
|
|
1073 |
//if(utf8_check($string)) // this is to much time-consuming
|
|
1074 | 1074 |
$string = utf8_to_charset($string, $charset_out); |
1075 | 1075 |
return ($string); |
1076 | 1076 |
} |
... | ... | |
1092 | 1092 |
*/ |
1093 | 1093 |
function umlauts_to_entities2($string, $charset_in=DEFAULT_CHARSET) { |
1094 | 1094 |
$string = charset_to_utf8($string, $charset_in); |
1095 |
if(utf8_check($string))
|
|
1095 |
//if(utf8_check($string)) // this is to much time-consuming
|
|
1096 | 1096 |
$string = utf8_umlauts_to_entities($string); |
1097 | 1097 |
return($string); |
1098 | 1098 |
} |
Also available in: Unified diff
fixed an issue with utf8_check() (too slow with many ~100KB pages)