ZF-1992: The Zend_Rest_Server only accepts UTF-8 like XML response in the functions _handleStruct / _handleScalar

Issue Type: Improvement Created: 2007-09-24T19:38:50.000+0000 Last Updated: 2008-05-05T10:46:51.000+0000 Status: Resolved Fix version(s): - 1.5.2 (15/May/08)

Reporter: Mahomedalid Pacheco (mictlan) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Rest_Server

Related issues: Attachments:


The Zend_Rest_Server have two functions for the default management of return vales (_handleStruct and _handleScalar) but the functions had hardcoded the encoding of the DomDocument (UTF-8), this issue can be resolved with a simple propiety (var $_encoding) and simple access methods (maybe getResponseEncoding and setResponseEncoding).

It's my first report, so, I don't know how works the community and who say what user resolve the issue, but if it is no problem i can send a patch.


Posted by Darby Felton (darby) on 2007-09-26T15:03:23.000+0000

Assigning to [~matthew] to initiate issue review.

Posted by Matthew Weier O'Phinney (matthew) on 2007-11-16T15:10:30.000+0000

Tentatively scheduling for 1.1.0

Posted by Wil Sinclair (wil) on 2008-04-18T13:12:03.000+0000

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Posted by Mahomedalid Pacheco (mictlan) on 2008-04-18T16:55:02.000+0000

Can I fix it?

Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:13:24.000+0000

Scheduling for next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-05-05T10:46:51.000+0000

Encoding accessors added in trunk and the 1.5 release branch as of r9376.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.