
07-03-2010, 02:38 PM
|
 |
|
|
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by PHP FAN
hmmmm
OK forget about my last post!
The solution that worked for me in none English Characters with UTF-8 encoding is:
Open spy.php
Find:
PHP Code:
$event['preview'] = htmlnumericentities(htmlentities (
fetch_censored_text(fetch_trimmed_title(
strip_bbcode(strip_quotes($event['preview']), false, true),
$vbulletin->options['threadpreview']
)),
ENT_COMPAT, 'UTF-8'));
$event['title'] = str_replace ('&', '&', htmlnumericentities(htmlentities ($event['title'], ENT_COMPAT, 'UTF-8')));
Change to:
PHP Code:
$event['preview'] = htmlspecialchars(htmlentities (
fetch_censored_text(fetch_trimmed_title(
strip_bbcode(strip_quotes($event['preview']), false, true),
$vbulletin->options['threadpreview']
)),
ENT_COMPAT, 'UTF-8'));
$event['title'] = str_replace ('&', '&', htmlspecialchars(htmlentities ($event['title'], ENT_COMPAT, 'UTF-8')));
|
What did you change? It looks the same to me.
|