Page 1 of 1

Char encoding

Posted: Wed Oct 05, 2005 3:07 pm
by Pnikosis
I've updated my s9y blog to 0.9 beta, but I recieve a warning in my html boxes plugin:
'Warning: xml_parser_create(): unsupported source encoding "ISO-8859-15" in /home/pnikosis/public_html/blog/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php on line 192'
If I change the charset from native to UTF-8, the problem solves on the main page, but remains when I open the styles page. When I open the 'manage styles' on the admin section, I get:
'Warning: xml_parser_create(): unsupported source encoding "ISO-8859-15" in /home/pnikosis/public_html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 360'

Also I get strange chars hwre the special ones (for spanish) were before (in UTF-8).

:cry:

Posted: Wed Oct 05, 2005 3:09 pm
by Pnikosis

Re: Char encoding

Posted: Wed Oct 05, 2005 3:41 pm
by garvinhicking
Thanks for reporting this. It's a bug. :-)

Sadly the PHP XML functions do not recognize ISO-8859-15. Thus we need to work around it.

Can you please apply this patch frmo http://nopaste.php-q.net/163643 ?

(if you don't know how to use diff/patch utilities, please apply the changes manually. "-" means that a line is removed, "+" means that a line is added.)

The special chars happen because you cannot switch frmo UTF-8 to ISO without recoding your entries (read http://www.s9y.org/46.html)

Best regards,
Garvin

Posted: Wed Oct 05, 2005 4:20 pm
by Pnikosis
Great!! It worked! Nice :-)

Other question: ¿Isn't an automated way to recode the entries? Just curious :wink:

Posted: Wed Oct 05, 2005 4:21 pm
by Pnikosis
Oh, I forgot! And thank you very much, I just love Serendipity, I've tried so many blogs before, and no one can match this. Thank you for you work!

Posted: Wed Oct 05, 2005 9:49 pm
by garvinhicking
:-)

You're welcome, and thanks for your compliments. We try to keep up the work. :-))

Best regards,
Garvin