Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #2144 High-UTF entities in attributed decoded as ?
Submitted: 2004-08-17 07:08 UTC
From: spam at julik dot nl Assigned:
Status: Verified Package: XML_Beautifier
PHP Version: 4.3.3 OS: MacOS X 10.3
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2011-09-28 01:24 UTC
Package:
Bug Type:
Summary:
From: spam at julik dot nl
New email:
PHP Version: Package Version: OS:

 

 [2004-08-17 07:08 UTC] spam at julik dot nl
Description: ------------ When converting XML in UTF-8 containing russian letters encoded as character references in attribute values converted attribute values contain only ????? Reproduce code: --------------- $_xml = '<' . '?xml version="1.0" encoding="UTF-8"?' . '>'; $_xml .= <<<EOF <bogustag attribute="Инновационный дайджест"> <content /> </bogustag> EOF; require_once 'pear/XML/Beautifier.php'; $bf = new XML_Beautifier; echo $bf->formatString( $_xml); Expected result: ---------------- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <bogustag attribute="(russian letters here)"> <content /> </bogustag> see http://clients.julik.nl/cases/bea.xml Actual result: -------------- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <bogustag attribute="????????????? ????????" feed_id="4"> <content /> </bogustag>

Comments

 [2006-04-01 17:26 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-10-01 19:46 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2008-09-22 20:02 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2008-09-22 20:25 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2011-09-28 01:24 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!