If it is a bug, it seems to have been fixed.

J701 jconsole does not have the problem mentioned here. J602 jconsole does have 
this problem.

Here are the results of my tests with j701 jconsole :

    a:
++
||
++
    9!:6''
+++++++++|-

    9!:7'┌┬┐├┼┤└┴┘│─'

    9!:6''
┌┬┐├┼┤└┴┘│─
    a:
┌┐
││
└┘

I did not have to make any changes to the default j701 setup (other than 9!:7) 
for it to be able to display the box drawing characters.

On 10/28/2010 20:22, bill lam wrote:
> Will it be a bug of jconsole that it does not use wide version api for text
> output? Window codepage are used by legacy non-unicode programs.
>
> Чтв, 28 Окт 2010, David Mitchell писал(а):
>> This works for me on win7-64 (corrected):
>>
>> 1. Create a new shortcut icon.
>> 2. Change the Target property of the icon to:
>>
>> C:\Windows\System32\cmd.exe /K "chcp 65001&&  cd C:\Users\me\j64-602\bin&&
>> jconsole"
>>
>> 3. Select the Shortcut Key property of the icon.
>> 4. Type Ctrl+Alt+j
>> 5. Make sure the shortcut font is set to Lucida Console.
>> 6. Close the icon properties.
>>
>>
>> Now, any time I type Ctrl+Alt+j, I get a new jconsole window that is using
>> codepage 65001 and that displays a: using the box drawing characters.
>>
>> --
>> David Mitchell
>>
>> On 10/28/2010 9:41, Tracy Harms wrote:
>>> Thanks, Raul.
>>>
>>> The command 'chcp 65001' does make the box-drawing work right if I launch
>>> cmd.exe, execute chcp 65001, then execute jconsole.exe within that window.
>>> That's an improvement.
>>>
>>> What I was hoping, though, is to have jconsole.exe open directly and work. I
>>> defined a key on my keyboard such that a jconsole.exe window opens at the
>>> touch of that button. This puts me, in effect, in the same mode as after I
>>> run jconsole.exe in a command-line window. At that point it's too late to
>>> use chcp 65001.
>>>
>>> So far I don't see any way to have chcp 65001 be a default setting for
>>> command-line mode. That's what I think it would take for directly-launched
>>> jconsole.exe windows to support box display properly.
>>>
>>> --
>>> Tracy
>>>
>>>
>>> On Tue, Oct 26, 2010 at 4:54 PM, Raul Miller<[email protected]>   wrote:
>>>
>>>> ...
>>>> I think the problem is cmd.exe
>>>>
>>>> They display fine for me, when I run jconsole in my usual
>>>> environment (windows 7, 64 bit, mintty cygwin window).
>>>> But I get the same thing you get if I run jconsole in a cmd
>>>> window.
>>>> ...
>>>>
>>>>
>>>> http://cbloomrants.blogspot.com/2010/06/06-07-10-unicode-cmd-code-page-checkup.html
>>>> suggests that chcp 65001 will fix the problem, and this
>>>> worked for me after I changed my cmd.exe font from
>>>> raster fonts to lucidia console.
>>>>
>>>> FYI,
>>>>
>>>> --
>>>> Raul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to