|
Posted by B.r.K.o.N.j.A on 08/09/06 07:53
> 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
Navigation:
[Reply to this message]
|