You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2024/07/06 16:00:00 UTC

[jira] [Created] (GROOVY-11436) [GINQ] Some non-ascii characters in ascii table can not align correctly in console

Daniel Sun created GROOVY-11436:
-----------------------------------

             Summary: [GINQ] Some non-ascii characters in ascii table can not align correctly in console
                 Key: GROOVY-11436
                 URL: https://issues.apache.org/jira/browse/GROOVY-11436
             Project: Groovy
          Issue Type: Bug
            Reporter: Daniel Sun
            Assignee: Daniel Sun
             Fix For: 4.0.23, 5.0.0-alpha-10


Some non-ascii characters in ascii table can not align correctly in console, e.g. Chinese characters.

 
{code:java}
        def result = GQ {
            from r in [
                [name: 'Daniel', age: 39, location: 'Shanghai'],
                [name: '山风小子', age: 40, location: '上海'],
                [name: 'Candy', age: 36, location: 'Shanghai']
            ]
            select  r.name, r.age, r.location
        }
        println result  // check the result in cmd of Windows or terminal of Linux
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)