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

Re: 'svnadmin dump' is garbled on Japanese version of Windows.

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Thu, 25 Jul 2013 22:18:41 +0900

Hi.

> That is the problem. That string should be UTF-8. How does it get to
> be shift-JIS? The translations should be in UTF-8. Are you using old
> i18l tools?

cmdline_stream_printf at svnadmin.c calls svn_cmdline_cstring_from_utf8().
svn_cmdline_cstring_from_utf8 convert UTF-8 to Shift JIS.

The code was implemented at r1485650 by you.

what do you mean 'i18l tools'? apr-iconv? gettext?

svn_cmdline_cstring_from_utf8() uses Win32 API 'MultiByteToWideChar'
for conversion.
Received on 2013-07-25 15:19:15 CEST

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