incorrect text mode graphic character display

Thomas Wolff towo@towo.net
Sat May 9 06:45:34 GMT 2020


Am 09.05.2020 um 08:32 schrieb Marco Atzeri via Cygwin:
> Am 08.05.2020 um 22:14 schrieb briand@pounceofcats.com:
>> On Fri, 8 May 2020 20:41:55 +0200
>> Marco Atzeri via Cygwin <cygwin@cygwin.com> wrote:
>>
>>> Am 07.05.2020 um 17:18 schrieb briand@pounceofcats.com:
>>>> Hi,
>>>>
>>>> Doesn't matter what terminal i'm using, I'm having a problem with 
>>>> the way graphic characters print.
>>>> Julia uses unicode output, and will generate output that should 
>>>> look like this:
>>>>    julia> x=DataFrame([(1,2,3), (4,5,6)])
>>>> 2×3 DataFrame
>>>> │ Row │ 1     │ 2     │ 3     │
>>>> │     │ Int64 │ Int64 │ Int64 │
>>>> ├─────┼───────┼───────┼───────┤
>>>> │ 1   │ 1     │ 2     │ 3     │
>>>> │ 2   │ 4     │ 5     │ 6     │
>>>>
>>>
>>> it works fine for me with
>>> $ uname -svr
>>> CYGWIN_NT-10.0 3.1.4(0.340/5/3) 2020-02-19 08:49
>>>
>>> both on CMD console and Mintty
>>> without need to disable pcon
>>>
>>> julia> using DataFrames
>>>
>>> julia> x=DataFrame([(1,2,3), (4,5,6)])
>>> 2×3 DataFrame
>>> │ Row │ 1     │ 2     │ 3     │
>>> │     │ Int64 │ Int64 │ Int64 │
>>> ├─────┼───────┼───────┼───────┤
>>> │ 1   │ 1     │ 2     │ 3     │ │ 2   │ 4     │ 5     │ 6 │
>>>
>>> what type of locale are you using ?
>>> $ echo $LANG
>>> en_US.UTF-8
>>
>> yes, that's the locale
>>
>
> so it is not the DLL alone and it is not the locale
> that is causing the problem you see.
>
> Please provide the cygcheck.out as attachment
> https://cygwin.com/problems.html
>
> Which version of Julia are you running ?
> How are you running Julia?
> Do you have any custom user setup in Julia?
> I just installed it and only installed the DataFrames package.
Julia had a patch to enable UTF-8 output via Windows output functions in 
previous cygwin versions.
I remember the details only vaguely right now, but it may be necessary 
to remove that patch for cygwin from 3.1.0, or it might cause some kind 
of double transformation.
Thomas


More information about the Cygwin mailing list