Incorrect handling of text in different codepages
Status: Beta
Brought to you by:
tjriley
I've installed Gunther on my website - http://juliya.spweb.
ru, and founded, that Gunther incorrectly handles russian
encoding - cp1251. So, I maded some changes in code:
admin/edit.php line 91:
$smarty->assign('page_body', htmlentities($body,
ENT_NOQUOTES, 'cp1251'));
include/format.php line 534:
make_thumbnail($page, $image, $max_width,
$max_height, $border, $web_root.'gallery_view.php?
page='.$page.'&image='.htmlentities($image,
ENT_QUOTES, 'cp1251')).'<br><span
class="gensmall">'.$comments[$image].'</
span><br> </td>';
So it's now working propertly.
But maybe it can be done by something like config files?
Can you make support for different locales and encodings
built in Gunther?
Logged In: YES
user_id=924236
Thanks for that Alexey. I think it's important that Gunther is able to handle
different locates and encodings. I unfortunately don't have that much
experience with locales/encodings on the web so I'll have to do some
research. I think you're right - it should be configurable in config.php.