Reply to Re: iconv or xmlsimpledocument with windows-1250

Your name:

Reply:


Posted by ninja on 08/09/06 11:37

B.r.K.o.N.j.A wrote:
> > Hello,
> >
> > As far as I can tell from your post, it seems you're converting to
> > wrong charset. ISO-8859-1 (Latin-1) can't handle the characters you
> > need - my guess is that you need Serbian latin. Try iconv- ing the
> > string to UTF-8.
> >
> > Vladislav
> >
>
> Allready did that and it worked fine as expected (WIN-1250 -> ISO-8859-1
> was a gross oversight on my part... :)) Anyway, if anyone can use this:
> When simplexml-ing a xml file that's not in ISO-8859-1 or UTF-8 (and
> that xml file has encoding tag within), simplexml internally converts it
> to utf-8 and returns utf-8 data (which started my problem since I
> believed that I'm getting win-1250 data as stated in xml document... and
> things just took from there ... :))
>
> Thx,
>
> P.S. I was actually needin' Croatian latin (though it's *exactly* the
> same as Serbian one, you wouldn't make a lot of friends here calling it
> Serbian :)))
>
> --
>
> B.r.K.o.N.j.A = Bionic Robotic Knight Optimized for Nocturnal Judo and
> Assasination

:) Yeah, I get that ... Just wanted to help, no insult intended.

[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

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