which platform are you testing on? windows mac linux?<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 7:49 AM, John M. Dlugosz <span dir="ltr"><<a href="mailto:wxju46gefd@snkmail.com">wxju46gefd@snkmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 3/23/2011 8:58 AM, Bill Moseley <a href="http://moseley-at-hank.org" target="_blank">moseley-at-hank.org</a> |Catalyst/Allow to home| wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Post the smallest possible example (<20 lines?) that clearly shows the<br>
problem.<br>
<br>
<br>
</blockquote></div>
OK, I verified that it still chokes if I strip it down to the bare essentials.<br>
If the view produces a stream that includes a wide character, I get the exception.<br>
<br>
Here is my Controller:<br>
====<br>
package LEDft::Controller::Root;<br>
use Moose;<br>
use namespace::autoclean;<br>
use Mail::Builder::Simple;<br>
<br>
use Try::Tiny;<br>
<br>
BEGIN { extends 'Catalyst::Controller::HTML::FormFu' }<br>
<br>
#<br>
# Sets the actions in this controller to be registered with no prefix<br>
# so they function identically to actions created in MyApp.pm<br>
#<br>
__PACKAGE__->config(namespace => '');<br>
<br>
my %Data= (<br>
priceline => "10\x{2032} poll",<br>
);<br>
<br>
sub index :Path :Args(0) {<br>
my ( $self, $c ) = @_;<br>
$c->{stash}->{AdminContent}= \%Data;<br>
}<br>
<br>
<br>
sub end : ActionClass('RenderView') {}<br>
<br>
<br>
__PACKAGE__->meta->make_immutable;<br>
<br>
1;<br>
====<br>
<br>
<br>
Here is the <a href="http://index.tt" target="_blank">index.tt</a> file:<br>
====<br>
<p>[% AdminContent.priceline %]</p><br>
<br>
====<br>
<br>
Also, the app's config states: default_view => 'Alloy',<br>
So the tt file is being processed using Alloy. I get the same result if I use 'TT', the more common choice.<br>
<br>
=====================<br>
<br>
So, if the template produces a result that includes a "wide" character, I get the exception.<div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</div></div></blockquote></div><br>