Provide encoding for scripts #1399
-
Hi there! I have a situation here, and I could use some help to find the best approach.
Those unicode emojis are
In plain java, there are two ways for providing the right encoding:
Unluckily, I cannot suppress nor ignore the messages, hence the script output gets polluted. My question is: Is there a way to instruct JBang to use the proper encoding when loading script sources? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Have you tried |
Beta Was this translation helpful? Give feedback.
-
-D should work. What does --verbose print ? |
Beta Was this translation helpful? Give feedback.
Have you tried
jbang -D=file.encoding=UTF8
? Not sure if it works but it's worth a try.