Printing Unicode characters from Groovy

Printing Unicode characters from Groovy Seems to work out of the box. At least on Linux.

def latin_letters = "Hello World"
println latin_letters

def hungarian = "Álom ló és ő egy ügyes ökör."
println hungarian

def hebrew = "שלום עולם"
println hebrew

def arabic = "السلام عليكم"
println arabic

timestamp: 2020-10-03T15:30:01 tags:

  • Groovy