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

Description

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.

Comments

Assigning to [~matthew] to initiate issue review.

Tentatively scheduling for 1.1.0

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

Can I fix it?

Scheduling for next mini release.

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