0

Hi!

I have a php code that reads xml file. In xml file I have the german letter ö (this xml file is saved as UTF). This is mistake. I don't get ö. I get some strange carachters (like ö). Can somebody help me? Thanks a lot!

2
Contributors
5
Replies
8
Views
6 Years
Discussion Span
Last Post by twiss
0

You'll have to change the charset somewhere, perhaps iso-8859-1 instead of utf-8, or the other way around. What could help is just change the charset of the page in your browser, and look for which charset you get the ö.

0

Charset of ö is & # 246. What then? (I tried to add & # 246 instead of ö in xml file, but it didn't work)

Edited by ivan3510: n/a

0

Nope, that's an entity. You'll need to change the charset of the page. For example, the following in <head/> would set utf-8:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.