groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frenchy48 <bam...@in2p3.fr>
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
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.

Mime
View raw message