[Rt-devel] patches for spreadsheet export

Kevin Falcone falcone at bestpractical.com
Thu Dec 16 11:56:35 EST 2010


> utf-8 didn't work on Windows XP with Excel 2003.

Does it work on more modern Excels?  This seems like a really odd
patch.  I wonder if it would even work on Macs with Numbers.

> -        header => Encode::encode_utf8(loc($col->{title} || $col->{attribute})),
> +        header => Encode::encode( "cp1252", loc( $col->{title} || $col->{attribute} ) ),

Is there a reason not to use RT's default scrubber?

> +<%ONCE>
> +my $scrubber = HTML::Scrubber->new();
> +$scrubber->default(0);
> +$scrubber->comment(0);
> +</%ONCE>

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20101216/c92a7c2e/attachment.pgp>


More information about the rt-devel mailing list