You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Shi Bin <sh...@alibaba-inc.com> on 2006/04/20 10:08:46 UTC

[PROPOSAL] About the svn client problem on chinese windows.

Hi all,

I am a new bie to svn client, recently i need to use it to get some code from a svn server, and i download the svn client, and after i use it under simplified chinese windows, i find it will not show the hint text normally, for example if I type svn on windows cmd window, it will shows

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\shibin>svn
?\232?\175?\183?\228?\189?\191?\231?\148?\168?\226?\128?\156svn help?\226?\128?\
157?\228?\187?\165?\229?\190?\151?\229?\136?\176?\231?\148?\168?\230?\179?\149?\
229?\146?\140?\229?\184?\174?\229?\138?\169?\227?\128?\130

C:\Documents and Settings\shibin>

I don't know it is a bug or something wrong with my system or my preference, have you guys got this complain before ?  Anyone can help me with this problem ?
Thanks.

Regards,
Bin

Re: [PROPOSAL] About the svn client problem on chinese windows.

Posted by Shi Bin <sh...@alibaba-inc.com>.
Hi Jesper,

You are right, after i installed the iconv lib, it's ok now.

----- Original Message ----- 
From: "Jesper Steen Møller" <je...@selskabet.org>
To: "Shi Bin" <sh...@alibaba-inc.com>
Cc: <de...@subversion.tigris.org>
Sent: Friday, April 21, 2006 4:00 AM
Subject: Re: [PROPOSAL] About the svn client problem on chinese windows.


> Shi Bin wrote:
>> Hi all,
>>  I am a new bie to svn client, recently i need to use it to get some code 
>> from a svn server, and i download the svn client, and after i use it 
>> under simplified chinese windows, i find it will not show the hint text 
>> normally, for example if I type svn on windows cmd window, it will shows
>>  Microsoft Windows XP [Version 5.1.2600]
>> (C) Copyright 1985-2001 Microsoft Corp.
>>  C:\Documents and Settings\shibin>svn
>> ?\232?\175?\183?\228?\189?\191?\231?\148?\168?\226?\128?\156svn 
>> help?\226?\128?\
>> 157?\228?\187?\165?\229?\190?\151?\229?\136?\176?\231?\148?\168?\230?\179?\149?\
>> 229?\146?\140?\229?\184?\174?\229?\138?\169?\227?\128?\130
>>  C:\Documents and Settings\shibin>
>>  I don't know it is a bug or something wrong with my system or my 
>> preference, have you guys got this complain before ?  Anyone can help me 
>> with this problem ?
>> Thanks.
> Hi Shi
>
> Your charset is simplified chinese (GB2312), right? Which subversion 
> version are you using?
>
> The escaped values are decimal UTF-8 encodings of the Chinese string (3 
> bytes per character for that particular)
> The first character is U+8BF7 CJK UNIFIED IDEOGRAPH, and that should be 
> available in GB2312 (as the byte sequence \xC7\xE8)
>
> So it looks as if the subversion client cannot recode the UTF-8 used 
> internally in the gettext strings into the charset expected by the 
> console.
>
> Are the iconv libraries installed? If you set your language to other 
> languages, like Portugese (Brazil), do you get legible characters?
>
> Actually, on my system, the chinese characters come out like this:
> D:\> svn
> ____svn help__________
>
> But I might not have the correct font installed.
>
> -Jesper
>
> -Jesper
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PROPOSAL] About the svn client problem on chinese windows.

Posted by Jesper Steen Møller <je...@selskabet.org>.
Shi Bin wrote:
> Hi all,
>  
> I am a new bie to svn client, recently i need to use it to get some 
> code from a svn server, and i download the svn client, and after i use 
> it under simplified chinese windows, i find it will not show the hint 
> text normally, for example if I type svn on windows cmd window, it 
> will shows
>  
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>  
> C:\Documents and Settings\shibin>svn
> ?\232?\175?\183?\228?\189?\191?\231?\148?\168?\226?\128?\156svn 
> help?\226?\128?\
> 157?\228?\187?\165?\229?\190?\151?\229?\136?\176?\231?\148?\168?\230?\179?\149?\
> 229?\146?\140?\229?\184?\174?\229?\138?\169?\227?\128?\130
>  
> C:\Documents and Settings\shibin>
>  
> I don't know it is a bug or something wrong with my system or my 
> preference, have you guys got this complain before ?  Anyone can help 
> me with this problem ?
> Thanks.
Hi Shi

Your charset is simplified chinese (GB2312), right? Which subversion 
version are you using?

The escaped values are decimal UTF-8 encodings of the Chinese string (3 
bytes per character for that particular)
The first character is U+8BF7 CJK UNIFIED IDEOGRAPH, and that should be 
available in GB2312 (as the byte sequence \xC7\xE8)

So it looks as if the subversion client cannot recode the UTF-8 used 
internally in the gettext strings into the charset expected by the console.

Are the iconv libraries installed? If you set your language to other 
languages, like Portugese (Brazil), do you get legible characters?

Actually, on my system, the chinese characters come out like this:
D:\> svn
____svn help__________

But I might not have the correct font installed.

-Jesper

-Jesper


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org