Posted by Juliette on 12/17/92 11:52
imoschak wrote:
> Hi there i have a problem while parsing and xml file.
> The file is a backup from moodle (moodle.xml). When i open the file
> with one of my editors
> and setting Encoding to utf8 font courier standard or greek characters
> the editor can see all greek strings contained within the file
> perfectly. On the other hand when i try to open it with php
> parse it and then display it on a web page the data from the file come
> out like latin characters like (A~ atilde)(o: o umplaud) and others
> like this. Updating moodle is not an option so i have to find a
> workaround. Has anybody heard of something like this? thanks in advance
>
The encoding which is send in the headers is probably latin which would
cause the faulty display.
Have a look at moodle to see if you can set the page encoding in the
configuration or something.
Navigation:
[Reply to this message]
|