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

Unable to open downloaded file. Utf8 encoding error #50

Closed
oluomotoso opened this issue Apr 23, 2019 · 1 comment
Closed

Unable to open downloaded file. Utf8 encoding error #50

oluomotoso opened this issue Apr 23, 2019 · 1 comment

Comments

@oluomotoso
Copy link

Prerequisites

Versions

  • PHP version: <7.2>
  • Laravel version: <5.7>
  • Nova version: <1.0>
  • Package version:

Description

The file downloaded is not opening. Giving a UTF8 Malformed error
image

Steps to Reproduce

Expected File to Open but giving error

Expected behavior:

Actual behavior:

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

@patrickbrouwers
Copy link
Member

Hey @oluomotoso it looks like one of your PHP-files has some output before the <?php opening tag.

If that's not the case, make sure the filename is ascii encoded. (See warning in Laravel docs: https://laravel.com/docs/5.8/responses#file-downloads)

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

2 participants