PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » XML » XML_Beautifier » Bug #1884

Parser is changing ö to " ö "

Details

Submitted2004-07-15 19:58 UTC
Fromrm at visionthink dot de
StatusVerified
PackageXML_Beautifier
PHP VersionIrrelevant
OSDebian
Roadmaps(Not assigned)

Comments

[2004-07-15 19:58 UTC] rm at visionthink dot de

Description:
------------
The Parser is changing schön to sch ö n.

Reproduce code:
---------------
<?php
$vXMLBeautifier='XML/Beautifier.php';

$vXMLInhalt = '<?xml version="1.0" encoding="ISO-8859-1"?><objekttitel>schön</objekttitel>';

require_once $vXMLBeautifier;
$vXMLBeautifier = new XML_Beautifier();
echo $vXMLBeautifier->formatString($vXMLInhalt);
?>

Expected result:
----------------
<?xml version="1.0" encoding="ISO-8859-1"?><objekttitel>schön</objekttitel>

Actual result:
--------------
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><objekttitel>sch ö n</objekttitel>