Hi!

2016-10-05 19:59 GMT+03:00 Lutz Gehlen <[email protected]>:

> send_file(
>     \$str,
>     content_type => 'text/csv',
>     filename     => 'foo.csv',
> );
>
> The problem is that external requirements force me to send the file
> in iso-8859-1 and it seems that I cannot manage to achieve that.

As far as I understand, the charset is set in config, so you could try
to override the setting in your route like:

set 'charset'      => 'iso-8859-1;

Never tried, but it should work.

-- 
Wbr
Kõike hääd,

Gunnar
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to