in reply to Re: serving a zip file with Dancer2
in thread serving a zip file with Dancer2

Yes, some double-encoding is what I suspect.

But I don't use a config at the moment - it's just a script that I run via plackup.

I have tried to add

config->{charset} = "UTF-8";
to the script but that does not change anything.

I guess the problem is that I need to tell Dancer that the content I get from the zip-file is already encoded but I can't figure out how.

I currently try to use a Dancer2::Core::Response-object but I can't make that work at all...