|
Posted by Andy Hassall on 09/28/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
Navigation:
[Reply to this message]
|