Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing xml files including German cause an issue(php5.3 and php5.2) #11

Open
bluefivecn opened this issue Apr 22, 2014 · 0 comments
Open

Comments

@bluefivecn
Copy link

Hello,
As you can see, my xml file includes some German charaters as following:

In php5.4, it's working well, but in php5.3 and php5.2 an error happened when creating the SimpleXMLElement.

I looked into this issue, this has something to do with the ENT_XML1 option in htmlentities. PHP added ENT_XML1 from php5.4, that's why it's working well in php5.4.
But in php5.3, when creating SimpleXMLElement with the string "ä" instead of "ä", it failed.
I am not sure how to fix this, any help will be appreciated.

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant