Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character encoding is changed to UTF-8 when downloading pdf #145

Open
misja-alma opened this issue Oct 21, 2014 · 0 comments
Open

Character encoding is changed to UTF-8 when downloading pdf #145

misja-alma opened this issue Oct 21, 2014 · 0 comments

Comments

@misja-alma
Copy link

I'm encountering an issue when downloading pdf's in my application. When I open them in my browser, they sometimes open blank. After some searching I found out why: the character encoding is sometimes changed to UTF-8, and this corrupts the downloaded pdf.
It only happens when I download the pdf's through grunt-connect-proxy, not otherwise.

Some searching on the Internet reveals that I'm not the only one experiencing this problem with grunt-connect-proxy, see for instance the issue: drewzboto/grunt-connect-proxy#73 (comment)
It also doesn't seem to be specific for PDF's, it can affect .gz files as well.

The culprit seems to be grunt-contrib-connect, which is used by grunt-connect-proxy.

Is this a bug, or is this dynamic character encoding a feature which I can turn off?
Any help is greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant