[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Win32 build locale broken

From: Yongwei Wu <wuyongwei_at_gmail.com>
Date: 2006-09-11 05:37:28 CEST

On 9/8/06, Ryan Schmidt <subversion-2006c@ryandesign.com> wrote:
>
> On Sep 8, 2006, at 06:22, Yongwei Wu wrote:
>
> > I am shocked to find that svn outputs this on Chinese version of
> > Windows:
> >
> > ?\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
> >
> > Of course, it is not very difficult to find out what this is. Which a
> > program to convert ?\232 to char(232), I finally got:
> >
> > C:\TEMP>svn 2>&1 | myconvert | iconv -f utf-8 -t gbk
> > 请使用"svn help"以得到用法和帮助。
> >
> > It really surprised me this is the default behaviour of svn on
> > Windows. To reproduce the problem on your PC, use something like "set
> > LANG=zh_CN".
> >
> > The version I downloaded is the Win32 build 1.3.2 by Branko, with URL:
> >
> > http://subversion.tigris.org/files/documents/15/32473/svn-
> > win32-1.3.2.zip
>
> I believe you need to set the APR_ICONV_PATH variable to the iconv
> folder of the Subversion installation. See this discussion:

BTW, according to the INSTALL file, it indicates Windows needs
apr-iconv. However, there is no such package in Cygwin, and I can make
the Cygwin svn emit the garbaged text too, while I am unable to find a
similar directory to set APR_ICONV_PATH to make the display correct.
Any ideas?

Best regards,

Yongwei

-- 
Wu Yongwei
URL: http://wyw.dcweb.cn/
Received on Mon Sep 11 05:38:39 2006

This is an archived mail posted to the Subversion Users mailing list.