QUOTE:
Thanks,Steve
It works now.
This is a great component.
Glad to hear you got it working jaleo .
montemedia
I have made changes to the text file.
Try removing everything in function numeric_html($text){} so it looks like this:
| Code: |
function numeric_html($text){
return $text;
}
|
And then just replace this with the code in the text file:
| Code: |
/****************************************
High end numeric converter
******************************************/
function high_order($text){
$text = preg_replace('/([\xc0-\xdf].)/se', "'&#' . ((ord(substr('$1', 0, 1)) - 192) * 64 + (ord(substr('$1', 1, 1)) - 128)) . ';'", $text);
$text = preg_replace('/([\xe0-\xef]..)/se', "'&#' . ((ord(substr('$1', 0, 1)) - 224) * 4096 + (ord(substr('$1', 1, 1)) - 128) * 64 + (ord(substr('$1', 2, 1)) - 128)) . ';'", $text);
return $text;
}
|
If this is still no good it shows where to remove code in the text file.