I'm using Script Runner to launch a script post-function.
In the script there is several international characters such as "é"
My Linux box uses "ANSI_X3.4-1968" system enconding.
Now, if I run the script on a JIRA instance on Windows, the System file encoding is "Cp1252" and:
Which leads me to my question.
What can I do to make the script work on my Linux box. Do I need to change the system encoding, or is there JVM attribute I can add to setenv.sh ?
It didn't work for me when encoded as UTF-8 with or without a BOM. With ANSI it did work but then I couldn't edit it in IDEA. With linux my script worked when pasting it in to the admin panel. Maybe related: http://groovy.329449.n5.nabble.com/Does-Groovy-support-UTF-8-encoded-scripts-td331787.html
As a (bad) workaround perhaps you could html-escape them, if displaying in the browser? Likely not possible though.
Setting -Dfile.encoding=UTF-8 may work... not tested.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG