groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frenchy48 <>
Subject subclassing Console : looks like a bug!
Date Sat, 04 Mar 2017 11:36:13 GMT
if you write a very simple subClass of groovy.ui.Console
the output has then a very Strange behavior:
- if you create a String with "unusual" chars  (I mean chinese or Arabic )
- if you "println" this string then you only get "?????"
-but when printing the result it's ok

very annoying for me (because I need chinese and arabic chars!)
test example:

now run this:
str = "風 革 骨 鬼 韭"
println str

member of Grumpy Old Programmers
View this message in context:
Sent from the Groovy Users mailing list archive at

View raw message