Forum Moderators: coopster

Message Too Old, No Replies

Converting charsets

Is is possible using php?

         

caspita

4:48 pm on Nov 10, 2004 (gmt 0)

10+ Year Member



Hi .. I have put a similar question in the HTML forum [webmasterworld.com...] but then I realized that somebody here could help me too.

I have 2 rss feeds sources that I need to combine into one single output, but one of the sources is comming 'UTF-8' and the other one 'iso-8859-1', so when I combine them both into one single html page some characters are not showing well... I think that I need to convert one of them in some way but I can not find out how .. guessing if some body here could point me to some php script doing this .. I have been looking at the html php functions but I haven't been able to make it work so far :-(

Thanks for you help

Timotheos

5:44 pm on Nov 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This thread might be a help
[webmasterworld.com...]

ergophobe

7:01 pm on Nov 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



As I point out in the thread Tim mentioned (and the threads it references), if you know what the incoming character encoding is, it's relatively easy to convert from ISO-8859-1 to UTF-8 and back. If you don't know what the charset is and ISO-8859-1 is one possibility among many, it's more bothersome.

I hope you figure it out.

Tom

caspita

7:13 pm on Nov 10, 2004 (gmt 0)

10+ Year Member



Thank you to both of you guys! yes, I'm able to determine the incomming charset ..so this functions should work just fine ;-)

Thanks a lot again!