You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by frenchy48 <ba...@in2p3.fr> on 2017/03/04 11:36:13 UTC
subclassing Console : looks like a bug!
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
str
-----
member of Grumpy Old Programmers
--
View this message in context: http://groovy.329449.n5.nabble.com/subclassing-Console-looks-like-a-bug-tp5738924.html
Sent from the Groovy Users mailing list archive at Nabble.com.
Re: subclassing Console : looks like a bug!
Posted by frenchy48 <ba...@in2p3.fr>.
not a bug: a strange thing that happens when the code is started from inside
IntelliJ
(was confused because tested subclass of Console inside IntelliJ)
sorry
-----
member of Grumpy Old Programmers
--
View this message in context: http://groovy.329449.n5.nabble.com/subclassing-Console-looks-like-a-bug-tp5738924p5738925.html
Sent from the Groovy Users mailing list archive at Nabble.com.