Reply to Re: UTF-8 ?? ISO etc etc

Your name:

Reply:


Posted by Andy Hassall on 10/10/15 11:19

On Thu, 23 Jun 2005 12:22:57 +0000 (UTC), "MS"
<nospamplaesegr8t_ukuk@yahoo.co.uk> wrote:

>I am trying to create an rss file using php code.
>I am pulling info from the DB and all is working ok until I come to validate
>the rss.
>
>the validator says " description contains bad characters "
>the highlighted characters are...
> \x92 & \x85 & \x91 etc..
>
>I am presuming that its the wrong encoding (which is what the validator is
>saying)
>
>My question is.. how do I get it to the correct encoding..
>
>I have tried utf8_encode and utf8_decode as the solution the validator
>gives is ...
>Solution: For maximum portability, convert the characters to either a utf or
>iso encoding.
>
>But this does not seem to do anything to the string !!

What encoding is the data in the first place, in the database?

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация