470,815 Members | 1,350 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Php4/Mysql and character encoding

Hello,

My website is blog/news aggregator. It reads rss and atom feeds to store
and stores data in a mysql database. The feeds may use different
character encodings, generally utf-8 and iso-8859-1. The parsing script
knows from the database when it visits a utf-8 feed and uses the php
function utf8_decode before send information to mysql. This has been
working great for five month.
Without any noticeable change in the configuration or in the scripts, it
started to convert iso-8859-1 to utf-8 before sending the data to mysql,
which doesn't undestand unicode, so texts with accentuated characters
become unreadable.
Is it possible that the encoding of the php files cause such behaviour ?
Can you think of any other reason or solution ? Any help will be
appreciated.

Thanks in advance.
JD
Oct 24 '05 #1
0 1307

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by CJ Oxx | last post: by
4 posts views Thread by Aditya Ivaturi | last post: by
4 posts views Thread by francescomoi | last post: by
reply views Thread by AndrewJ | last post: by
11 posts views Thread by macca | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.