I have download a binary package from win32svn[1], and confirmed your issue.
I check the subversion.mo file: msgunfmt.exe subversion.mo -o subversion.po It looks OK. Then I replaced the intl3_svn.dll file with gettext 0.18.2, it give me another output: C:\var\tmp>svnadmin upgrade test 已取得版本库锁定。 请稍候;升级版本库可能需要一段时间... ?\205?\234?\179?\201?\201?\253?\188?\182?\161?\163 C:\var\tmp> The I write a simple test program: /* * cl /MD /I. t-intl.c libintl-8.lib */ #include <stdio.h> #include <locale.h> #include <libintl.h> #include <iconv.h> #define _(S) gettext(S) #define PACKAGE_NAME "subversion" int main(int argc, char **argv) { iconv_t cd; size_t nc, inbytesleft, outbytesleft; char *msg, msg2[256]; setlocale(LC_ALL,""); setlocale(LC_CTYPE, ""); bindtextdomain(PACKAGE_NAME, "../share/locale"); /* bind_textdomain_codeset(PACKAGE_NAME, "UTF-8"); */ textdomain(PACKAGE_NAME); #undef printf printf(_("Repository lock acquired.\n" "Please wait; recovering the repository may take some time...\n")); printf(_("\n" "Upgrade completed.\n")); return 0; } C:\var\tmp\svn-win32-1.7.9\bin>cl /nologo /MD /I. t-intl.c libintl-8.lib C:\var\tmp\svn-win32-1.7.9\bin>t-intl.exe 已取得版本库锁定。 请稍候;修复版本库可能需要一段时间... 完成升级。 So this is a binary package build issue, not subversion issue. [1] http://sourceforge.net/projects/win32svn/files/1.7.9/apache24/svn-win32-1.7.9-ap24.zip/download On Thu, May 23, 2013 at 10:13 AM, QXO <qxodr...@gmail.com> wrote: > os: windows > encoding:GBK ( chcp 936 ) > > The svnadmin upgrade command output message first line encoding > issue(UTF-8 show in GBK),But the second line is right encoding! > > 宸插彇寰楃増鏈簱閿佸畾銆?璇风◢鍊欙紱鍗囩骇鐗堟湰搴撳彲鑳介渶瑕佷竴娈垫椂闂?.. > > 完成升级。 > > if change console encoding to UTF-8 (chcp 65001),output message is : > > Repository lock acquired. > Please wait; upgrading the repository may take some time... > > Upgrade completed. > >