Revision 731
Added by thorn over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
14 |
29-Feb-2008 Thomas Hornik |
|
15 |
# fixed issue in pagename generation if AddDefaultCharset is set (as work-around). |
|
14 | 16 |
28-Feb-2008 Thomas Hornik |
15 | 17 |
# fixed hebrew transliteration-table. Thanks to forum-member iti. |
16 | 18 |
28-Feb-2008 Christian Sommer |
trunk/wb/framework/functions-utf8.php | ||
---|---|---|
1034 | 1034 |
function entities_to_7bit($str) { |
1035 | 1035 |
// convert to UTF-8 |
1036 | 1036 |
$str = charset_to_utf8($str); |
1037 |
if(!utf8_check($str)) |
|
1038 |
return($str); |
|
1037 | 1039 |
// replace some specials |
1038 | 1040 |
$str = utf8_stripspecials($str, '_'); |
1039 | 1041 |
// translate non-ASCII characters to ASCII |
Also available in: Unified diff
fixed issue in pagename generation if AddDefaultCharset is set (as work-around).