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

Win32 build locale broken

From: Yongwei Wu <wuyongwei_at_gmail.com>
Date: 2006-09-08 06:22:57 CEST

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

Best regards,

Yongwei

-- 
Wu Yongwei
URL: http://wyw.dcweb.cn/
Received on Fri Sep 8 15:46:32 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.