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

script output truncated when characters are not utf8 #376

Closed
hamsterbacke opened this issue Dec 15, 2020 · 4 comments
Closed

script output truncated when characters are not utf8 #376

hamsterbacke opened this issue Dec 15, 2020 · 4 comments

Comments

@hamsterbacke
Copy link

hello there,
i have a script that outputs umlauts as utf8 string and it calls subscripts that have the environment lang set to de_DE.iso885915@euro and characters encoded accordingly.
If there are latin9 outputs the script output is not complete and truncated. This happens also without nginx in front of it.
When i pipe the output to iconv and convert it to utf8 (| iconv -f latin9 -t utf8) the script output is displayed entirely.

@bugy
Copy link
Owner

bugy commented Dec 15, 2020

Hi @hamsterbacke thanks for reporting!
Could you provide a sample script, please? So it would be easier for me to reproduce

@bugy bugy added the bug label Dec 15, 2020
@bugy bugy added this to the 1.17.0 milestone Dec 15, 2020
@hamsterbacke
Copy link
Author

file_mimetypes
latin9 subscript execution on host
utf8 subscript execution on host

when using iconv -f latin9 -t utf8:
executing with utf8 converting

without converting to utf8:
executing without utf8 converting

scripts.zip

@bugy
Copy link
Owner

bugy commented Dec 17, 2020

Hi @hamsterbacke, thanks for the details!

@bugy
Copy link
Owner

bugy commented Dec 26, 2020

Fixed, now it should be converted properly

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

No branches or pull requests

2 participants