Become a Patron!

My Amazon wishlist can be found here.

Life Line

Xdebug 2.0.0beta4 / PEAR::XMLParser

Last night I released version 2.0.0beta4 of Xdebug which fixes a small number of bugs. In the next couple of weeks I hope to fix all other bugs, and implement the features that I would like to have in Xdebug 2.0.0.

While getting the release ready I spend some time looking at the new PEAR installer, and encountered some interesting problems with how the PackageFile and XMLParser handle UTF-8 and XML. In PHP 5 the XML parsers output always UTF-8, which was not taken into account and because of misunderstandings they suggested to use entities for weird characters, such as the norwegian "Γ¦". But entities are HTML features, which do not exist in XML - so this didn't work properly either. I cooked up a small patch which should make "pear convert" and "pear package" deal with UTF-8 and non-ASCII characters in a more proper way.

Shortlink

This article has a short URL available: https://drck.me/xdebug-2-p-45n

Comments

No comments yet

Add Comment

Name:
Email:

Will not be posted. Please leave empty instead of filling in garbage though!
Comment:

Please follow the reStructured Text format. Do not use the comment form to report issues in software, use the relevant issue tracker. I will not answer them here.


All comments are moderated