Thanks for the tip! htmlentities() didn't work, as it just converted the
in the string to amp;. However, following the trail I did get it
working the other way round, using:
html_entity_decode($row['text'], ENT_NOQUOTES, UTF-8)
After this call, I had a real unicode text in my output file.
I've been searching for quite some time now and tried several functions,
but didn't find a solution. I hope somebody can point me in the right
direction.
The problem:
Russian text is entered through a web form. It's a rather badly
administrated external webserver with old versions of everything,
Have you tried feeding that through htmlentities()?
e.g. echo htmlentities(#1043;#1072;);
see if that outputs what you want on the page.
-Mk
Andreas Jakl wrote:
I've been searching for quite some time now and tried several functions,
but didn't find a solution. I hope somebody can point me
3 matches
Mail list logo