LoadError: syntax: "\" is not a unary operator

Works fine for me:

julia> println("Greetings! 你好! 안녕하세요?")
Greetings! 你好! 안녕하세요?

Possibly you are saving it a file using something other than the UTF-8 encoding that Julia requires. What code editor are you using?

PS. Please quote your code in posts: PSA: how to quote code with backticks

1 Like