[Catalyst] Class::DBI::AsForm

Mikhail Shevchuk sms512 at ms.tusur.ru
Thu Nov 24 19:43:39 CET 2005


On Thu, Nov 24, 2005 at 06:03:43PM +0000, Chisel Wright wrote:
> On Thu, Nov 24, 2005 at 11:56:43PM +0600, Mikhail Shevchuk wrote:
> > 	May be this is not exactly catalyst problem, but I hope that there
> > are some people here who know the truth :)
> > 
> > 	When I use modules like Class::DBI::AsForm, HTML::Tree, etc, my text
> > data in koi8-r encoding became wrong. For example, when I proccessing 
> > 8-bit char data as "[% item.to_field(column).as_XML %]" a get some wrong 
> > numeric rows in html output. (úÀÚ...) Is there any
> > thoughts about it?
> 
> Would Catalyst::Plugin::Unicode be any help? (never used it, but it
> can't hurt to try)
That didn't hurt, and didn't help. I've turned this plugin on, but it
doesn't work as I need, frankly speaking, it works in opposite way:
	From description: 
	On request, decodes all params from UTF-8 octets into
	a sequence of logical characters. On
	response, encodes body into UTF-8 octets.

I need encoding from UTF-8 octets into 8bit chars on response.




More information about the Catalyst mailing list