Skip to content

Commit

Permalink
Set erlang io encoding to unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen committed Dec 22, 2020
1 parent 505b78b commit 835a582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/payload/erlang.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"language": "erlang",
"files": [{
"name": "main.erl",
"content": "% escript will ignore the first line\n\nmain(_) ->\n io:format(\"Hello 🌎\").\n"
"content": "% escript will ignore the first line\n\nmain(_) ->\n io:setopts([{encoding, unicode}]),\n io:format(\"Hello 🌎\").\n"
}]
}

0 comments on commit 835a582

Please sign in to comment.