Hello,

I have a controller which derives from Catalyst::Controller::REST, and
my data is in UTF-8 format. When I deserialize  with JSON the data is
not displayed properly. Everything else works fine with utf-8:
deserialization in xml works, and non-restful controllers work as
well.

According to the manual Catalyst::Controller::REST uses JSON::Syck for
json serialization, but when I try to access variables like
$JSON::Syck::ImplicitUnicode or $JSON::Syck::SingleQuote from within
my controller they are undefined.

How can I make a restful controller send utf-8 encoded data?

Thanks,
Francesc

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to