script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Add possibility to define script encoding

Open bugy opened this issue 4 years ago • 2 comments

At the moment Script server is picking encoding automatically from an environment. However, some scripts are using a different encoding, so it would be helpful to allow setting script encoding in a configuration file

bugy avatar Mar 29 '21 19:03 bugy

Is there a way to force Script server to pick utf-8 encoding? print statements are now all broken if the str is not ascii. I've tried set PYTHONIOENCODING=utf-8 but no luck.

yuxiaoli avatar Sep 14 '24 04:09 yuxiaoli

Hi @yuxiaoli , script server uses utf-8 by default May be you can share your script output (the log file), so i could check? You can send it to my email [email protected]

bugy avatar Sep 14 '24 08:09 bugy