Hi,
I noticed display problem of URL verifier.
When I add or edit FAQ and save it, then phpMyFAQ display output of URL verifier.
But it was corrupted as ??????????. I confirmed it with Arabic,Chinese,Hindi and Japanese.
I check inc/LinkVerifier.php near line 901, the string was decoded.
// If no URLs found
if ($result == false) {
$output = sprintf('<h2>%s</h2><br />%s',
$PMF_LANG['ad_linkcheck_checkResult'],
$PMF_LANG['ad_linkcheck_noLinksFound']);
return ($cron ? '' : utf8_decode($output));
}
So, I changed it to below, then phpMyFAQ display correctly.
return ($cron ? '' : $output);
There are two utf8_decode() in same file, I think these are not needed to display multibyte strings.
Best regards,
Hiromi Suzuki
V 2.7 beta 3 Multibyte strings become ???? on URL verifier
Moderator: Thorsten
-
- Posts: 5
- Joined: Mon Aug 22, 2011 1:07 pm
Re: V 2.7 beta 3 Multibyte strings become ???? on URL verifi
Hi,
yes, I already fixed one of them. Thanks for the hint!
bye
Thorsten
yes, I already fixed one of them. Thanks for the hint!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist