Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: XML encoding problem

date posted 25th July 2005 19:38

[EMAIL REMOVED] wrote:
> On 25 Jul 2005 18:35:05 -0000, Dai Williams
> [EMAIL REMOVED] wrote:
>>=20
>> I have now and it does seem to clear the errors, so thanks, however I
>> am not sure I am clear why - the docs say this "Converts a string
>> with ISO-8859-1 characters encoded with UTF-8 to single-byte
>> ISO-8859-1" but my brain starts to bleed around here.. So the
>> encoding of the feed is UTF-8 but the character set is iso-8859-1.=20
>> Is that legal? I really must get my head round these things some
>> time...=20
>>=20
>=20
> The ever-reliable Joel has some entertaining things to say
> about developer confusion over such issues:
> http://www.joelonsoftware.com/articles/Unicode.html
>=20

Yes, I think I read that once before but some of the concepts drifted =
out of
my head through non-use. Ok, so I think I understand the answer to my =
own
question in that utf_decode() should only work for utf-8 strings that =
map
back successfully to iso-8859-1 code points, but it still begs the =
question
why iconv() chokes on the same string, is it simply that utf-decode does =
not
report errors but blithely ignores unmappable code points? =20

If so then I guess I am happy enough all things considered and could =
even
revert to iconv with @ in front if necessary (though I don't know why it
would be).

Dai
--=20
TechnologyAngel
http://www.technologyangel.co.uk/



Messages by Day
July 31st 2005
July 30th 2005
July 29th 2005
July 28th 2005
July 27th 2005
July 26th 2005
July 25th 2005
July 24th 2005
July 23rd 2005
July 22nd 2005
July 21st 2005
July 20th 2005
July 19th 2005
July 18th 2005
July 17th 2005
July 16th 2005
July 15th 2005
July 14th 2005
July 13th 2005
July 12th 2005
July 11th 2005
July 10th 2005
July 9th 2005
July 8th 2005
July 7th 2005
July 6th 2005
July 5th 2005
July 4th 2005
July 3rd 2005
July 2nd 2005
July 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000