Revision 442
Added by Matthias over 18 years ago
| search_convert.php | ||
|---|---|---|
| 33 | 33 |
} |
| 34 | 34 |
|
| 35 | 35 |
//for Xinha, (htmlarea) |
| 36 |
$string_conv=array( |
|
| 36 |
$string_conv_iso88591=array(
|
|
| 37 | 37 |
"?"=>"Š","?"=>"š","?"=>"Œ","?"=>"œ","?"=>"Ÿ", |
| 38 | 38 |
">"=>">","<"=>"<", |
| 39 | 39 |
"?"=>"„","?"=>"•","?"=>"ˆ","Ν"=>"Ν","ν"=>"ν", |
| ... | ... | |
| 61 | 61 |
); |
| 62 | 62 |
|
| 63 | 63 |
//for fckeditor, (tiny_mce) |
| 64 |
$string_entities_conv=array( |
|
| 64 |
$string_entities_conv_iso88591=array(
|
|
| 65 | 65 |
"Œ"=>"Œ","œ"=>"œ","Š"=>"Š","š"=>"š", |
| 66 | 66 |
"Ÿ"=>"Ÿ", |
| 67 | 67 |
"˜"=>"˜","ϒ"=>"ϒ","•"=>"•","™"=>"™", |
Also available in: Unified diff
Fixed issues with some languages when UTF8 is used.
Removed all htmlentites from the code (revoked changeset [396]) and added new functions instead.
Adapted the search and the highlighting to use the new functions.
With this changes WB can now be used with charset UTF8 for all languages.