Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: serving a zip file with Dancer2

by morgon (Priest)
on May 14, 2018 at 14:33 UTC ( [id://1214457]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1214457]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found