Char encoding

Having trouble installing serendipity?
Post Reply
Pnikosis

Char encoding

Post 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:
Pnikosis

Post by Pnikosis »

garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Char encoding

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Pnikosis

Post by Pnikosis »

Great!! It worked! Nice :-)

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

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

:-)

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

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply