-
Notifications
You must be signed in to change notification settings - Fork 51
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
in_memory_json #6
Comments
Hello Robert, Seems data in your json has non utf-8 characters. You should convert it manually to utf-8 or use iconv to do it, before you use it with node-jasper. Hope it helps. |
But this happens only, if I put a data: {} inside. This is fine (but creating an empty pdf-file):
This one is producing this error:
|
Now I have it. If you take your example and put a German umlaut inside (in utf-8 format, example "ä"), than you'll get this error. How can ve avoid this? |
Hi Robert, that's weird... could you give me a full example so I can run it Thanks. El lun., 30 de marzo de 2015 a las 16:09, Robert Prediger (<
|
Hi, just simply add an "ä" in one of the strings in data in your example. Thanks! Best regards |
Just use this:
|
Hi, I think the problem continues when using ToJsonDataSource method, cause you changed just the processConn method but not toJsonDataSource method, which is using the old code and giving the same error with UTF-8. I would really appreciate if you can change this. Really thanks in advance for the plugin !!! :) BR. |
I have a report definition with 'in_memory_json'.
After calling, I get this error:
What can I do to avoid this behaviour?
If you need more info, tell me. ;)
Thanks
Robert
The text was updated successfully, but these errors were encountered: