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

invalid byte 1 of 1-byte utf-8 sequence #275

Open
elvispdosreis opened this issue Feb 23, 2021 · 5 comments
Open

invalid byte 1 of 1-byte utf-8 sequence #275

elvispdosreis opened this issue Feb 23, 2021 · 5 comments

Comments

@elvispdosreis
Copy link

I am having trouble generating reports with compiled jrxml files.
It presents the error "invalid byte 1 of 1-byte utf-8 sequence", both for the file compiled by Jaspersoft Studio and $jasper->compile($input)->execute();

I can only generate a report passing the jrxml for generation, if I compile before it gives an error, however it makes the report call slow

@sultancoding
Copy link

I solved this invalid byte 1 of 1-byte utf-8 sequence problem by compiling jrxml file using jaspersoft Studio version 6.9.
This package is using jasperreports-6.7.0.jar library.
Maybe it has issues with latest Jaspersoft .jasper.
Previously I was using jaspersoft v6.14 and faced the same problem.
Hope it will help you @elvispdosreis

@naruone
Copy link

naruone commented Dec 21, 2021

same problem

@naruone
Copy link

naruone commented Dec 27, 2021

download jasperstarter(https://bitbucket.org/cenote/jasperstarter/downloads/), paste into bin/jasperstarter

it works for me (jaspersoft studio 6.18.1)

@Xint0-elab
Copy link

PHPJasper 3.3.1 uses JasperStarter 3.5.1 which uses an old version of the JasperReports library. If you use the latest version of JasperStudio you will have problems compiling and processing reports with PHPJasper.

You can try saving the jrxml files with version 6.5 compatibility in JasperStudio and then compile the reports using the included version of JasperStarter in vendor/bin/geekcom/phpjasper/bin/jasperstarter/bin/.

Or you could try my fork of PHPJasper which is in PR #311 waiting for review by making the suggested changes in my comment of issue #299 before it makes it to the main PHPJasper in a future release.

@SebasIBR
Copy link

you solve me it worked,tenia el jaspersoft en la ultima version, simplemente descargue la version que indicas y funciona perfecto

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

5 participants