You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by sekaijin <jy...@yahoo.fr> on 2012/09/25 15:26:57 UTC

Bug on windows: "org.apache.felix.gogo.commands"

Hello,
Karaf console does not display characters correctly é è à... chars.



displayed:


this comes from the evil charset defined System.defaultCharset() is cp1252
but the DOS console is IBM850



thank you
A+JYT
PS: Sorry for my approximative english



--
View this message in context: http://karaf.922171.n3.nabble.com/Bug-on-windows-org-apache-felix-gogo-commands-tp4026140.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Bug on windows: "org.apache.felix.gogo.commands"

Posted by "Jamie G." <ja...@gmail.com>.
Also which Windows version? :)

On Tue, Sep 25, 2012 at 11:56 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> Hi,
>
> Which Karaf version ?
>
> Regards
> JB
>
>
> On 09/25/2012 03:26 PM, sekaijin wrote:
>>
>> Hello,
>> Karaf console does not display characters correctly é è à... chars.
>>
>>
>>
>> displayed:
>>
>>
>> this comes from the evil charset defined System.defaultCharset() is cp1252
>> but the DOS console is IBM850
>>
>>
>>
>> thank you
>> A+JYT
>> PS: Sorry for my approximative english
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Bug-on-windows-org-apache-felix-gogo-commands-tp4026140.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Bug on windows: "org.apache.felix.gogo.commands"

Posted by sekaijin <jy...@yahoo.fr>.
hi,

I found where the problem is. it is a bug.
in the package 
in class  the method 
contains line 42 (in version 2.3.0)

but System.out.println() is not compatible with the encoding DOS (IBM850)
when running in a window java cmd.exe  in western europe

the correction is simple


Bye



--
View this message in context: http://karaf.922171.n3.nabble.com/Bug-on-windows-org-apache-felix-gogo-commands-tp4026140p4027984.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Bug on windows: "org.apache.felix.gogo.commands"

Posted by Guillaume Nodet <gn...@gmail.com>.
And do you connect through ssh, and on which platform are you running the
client and server ?

On Tue, Sep 25, 2012 at 4:26 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi,
>
> Which Karaf version ?
>
> Regards
> JB
>
>
> On 09/25/2012 03:26 PM, sekaijin wrote:
>
>> Hello,
>> Karaf console does not display characters correctly é è à... chars.
>>
>>
>>
>> displayed:
>>
>>
>> this comes from the evil charset defined System.defaultCharset() is cp1252
>> but the DOS console is IBM850
>>
>>
>>
>> thank you
>> A+JYT
>> PS: Sorry for my approximative english
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.**
>> com/Bug-on-windows-org-apache-**felix-gogo-commands-tp4026140.**html<http://karaf.922171.n3.nabble.com/Bug-on-windows-org-apache-felix-gogo-commands-tp4026140.html>
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Re: Bug on windows: "org.apache.felix.gogo.commands"

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Which Karaf version ?

Regards
JB

On 09/25/2012 03:26 PM, sekaijin wrote:
> Hello,
> Karaf console does not display characters correctly é è à... chars.
>
>
>
> displayed:
>
>
> this comes from the evil charset defined System.defaultCharset() is cp1252
> but the DOS console is IBM850
>
>
>
> thank you
> A+JYT
> PS: Sorry for my approximative english
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Bug-on-windows-org-apache-felix-gogo-commands-tp4026140.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com