Page 1 of 1

Bug in serendipity_functions.inc.php

Posted: Fri Jan 21, 2005 4:59 am
by Guest
Hi,
I'm running version 0.7.1 and I've found a localization bug in serendipity_functions.inc.php.
Line 2117:

Code: Select all

?><category><?php echo utf8_encode(htmlspecialchars($cat['category_name'])); ?></category><?php
That should be serendipity_utf8_encode() instead of utf8_encode()

This bug was causing UTF8 characters to be displayed incorrectly on the browser for my install.

Re: Bug in serendipity_functions.inc.php

Posted: Fri Jan 21, 2005 11:18 am
by garvinhicking
Hi!

Thanks for finding this, I patched it in CVS!

Regards,
Garvin