You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by QXO <qx...@gmail.com> on 2013/09/06 08:49:17 UTC

Re: svnadmin upgrade output message i18n issue

The bug found in svn 1.8.3(r1516576) again :(


E:\svnmirror>D:\tools\svn-win32-1.8.3\bin\svnadmin.exe upgrade ZmccPrj
已取得版本库锁定�?请稍候;升级版本库可能需要一段时�?..

���������


E:\svnmirror>D:\tools\svn-win32-1.8.0\bin\svnadmin.exe upgrade ZmccPrj
��ȡ�ð汾��������
���Ժ������汾�������Ҫһ��ʱ��...

���������




2013/6/19 QXO <qx...@gmail.com>

> The bug fixed in svn 1.8.0,Thanks:)
>
>
> 2013/5/24 Philip Martin <ph...@wandisco.com>
>
>> Dongsheng Song <do...@gmail.com> writes:
>>
>> >> We do call bind_textdomain_codeset if it is available so we should be
>> >> getting UTF8 translations.
>> >>
>> >
>> > For non-autotools system, e.g. Windows, user may not define
>> > HAVE_BIND_TEXTDOMAIN_CODESET.
>>
>> If you build the software with the wrong settings it may not work
>> properly.  The solution is to build it with the correct settings.
>> Perhaps you can improve the Windows build.
>>
>> > Or we should call bind_textdomain_codeset as possible, and warn the
>> > user if HAVE_BIND_TEXTDOMAIN_CODESET not defined:
>> >
>> > #ifdef HAVE_BIND_TEXTDOMAIN_CODESET
>> >   bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
>> > #else
>> >   fprintf(sdterr, "bind_textdomain_codeset not available, or not
>> > configured.  Non-UTF8 locales maybe see garbled output.\n");
>> > #endif /* HAVE_BIND_TEXTDOMAIN_CODESET */
>>
>> That error would be annoying if it was a false alarm.  Perhaps we could
>> verify the correct behaviour: call gettext and check whether the
>> returned string is valid UTF8?  However, we are not getting reports of
>> problems so it's probably not worth the effort.  The bug that started
>> this thread is about the exact opposite: gettext was returning UTF8 and
>> the output code was failing to convert to locale encoding.
>>
>> --
>> Certified & Supported Apache Subversion Downloads:
>> http://www.wandisco.com/subversion/download
>>
>
>

Re: svnadmin upgrade output message i18n issue

Posted by QXO <qx...@gmail.com>.
http://sourceforge.net/projects/win32svn/


2013/9/6 Bert Huijben <be...@qqmail.nl>

> Which build of the Windows binaries do you use?****
>
> ** **
>
> The Subversion project doesn��t produce binaries, so can��t really support
> build issues.****
>
> ** **
>
> Personally I do build the SlikSvn binaries (http://sliksvn.com/en/download),
> so if you find issues in that I might be able to help you.****
>
> ** **
>
>                 Bert****
>
> ** **
>
> *From:* QXO [mailto:qxodream@gmail.com]
> *Sent:* vrijdag 6 september 2013 08:49
> *To:* Philip Martin
> *Cc:* Dongsheng Song; users@subversion.apache.org;
> dev@subversion.apache.org
> *Subject:* Re: svnadmin upgrade output message i18n issue****
>
> ** **
>
> The bug found in svn 1.8.3(r1516576) again :(****
>
> ** **
>
> ** **
>
> E:\svnmirror>D:\tools\svn-win32-1.8.3\bin\svnadmin.exe upgrade ZmccPrj****
>
> 已取得版本库锁定�?请稍候;升级版本库可能需要一段时�?..****
>
> ** **
>
> ���������****
>
> ** **
>
> ** **
>
> E:\svnmirror>D:\tools\svn-win32-1.8.0\bin\svnadmin.exe upgrade ZmccPrj****
>
> ��ȡ�ð汾��������****
>
> ���Ժ������汾�������Ҫһ��ʱ��...****
>
> ** **
>
> ���������****
>
> ** **
>
> ** **
>
> ** **
>
> 2013/6/19 QXO <qx...@gmail.com>****
>
> The bug fixed in svn 1.8.0,Thanks:)****
>
> ** **
>
> 2013/5/24 Philip Martin <ph...@wandisco.com>****
>
> Dongsheng Song <do...@gmail.com> writes:
>
> >> We do call bind_textdomain_codeset if it is available so we should be
> >> getting UTF8 translations.
> >>
> >
> > For non-autotools system, e.g. Windows, user may not define
> > HAVE_BIND_TEXTDOMAIN_CODESET.****
>
> If you build the software with the wrong settings it may not work
> properly.  The solution is to build it with the correct settings.
> Perhaps you can improve the Windows build.****
>
>
> > Or we should call bind_textdomain_codeset as possible, and warn the
> > user if HAVE_BIND_TEXTDOMAIN_CODESET not defined:
> >
> > #ifdef HAVE_BIND_TEXTDOMAIN_CODESET
> >   bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
> > #else
> >   fprintf(sdterr, "bind_textdomain_codeset not available, or not
> > configured.  Non-UTF8 locales maybe see garbled output.\n");
> > #endif /* HAVE_BIND_TEXTDOMAIN_CODESET */****
>
> That error would be annoying if it was a false alarm.  Perhaps we could
> verify the correct behaviour: call gettext and check whether the
> returned string is valid UTF8?  However, we are not getting reports of
> problems so it's probably not worth the effort.  The bug that started
> this thread is about the exact opposite: gettext was returning UTF8 and
> the output code was failing to convert to locale encoding.****
>
>
> --
> Certified & Supported Apache Subversion Downloads:
> http://www.wandisco.com/subversion/download****
>
> ** **
>
> ** **
>

RE: svnadmin upgrade output message i18n issue

Posted by Bert Huijben <be...@qqmail.nl>.
Which build of the Windows binaries do you use?
 
The Subversion project doesn’t produce binaries, so can’t really support build issues.
 
Personally I do build the SlikSvn binaries (http://sliksvn.com/en/download), so if you find issues in that I might be able to help you.
 
                Bert
 
From: QXO [mailto:qxodream@gmail.com] 
Sent: vrijdag 6 september 2013 08:49
To: Philip Martin
Cc: Dongsheng Song; users@subversion.apache.org; dev@subversion.apache.org
Subject: Re: svnadmin upgrade output message i18n issue
 
The bug found in svn 1.8.3(r1516576) again :(
 
 
E:\svnmirror>D:\tools\svn-win32-1.8.3\bin\svnadmin.exe upgrade ZmccPrj
宸插彇寰楃増鏈簱閿佸畾銆?璇风◢鍊欙紱鍗囩骇鐗堟湰搴撳彲鑳介渶瑕佷竴娈垫椂闂?..
 
完成升级。
 
 
E:\svnmirror>D:\tools\svn-win32-1.8.0\bin\svnadmin.exe upgrade ZmccPrj
已取得版本库锁定。
请稍候;升级版本库可能需要一段时间...
 
完成升级。
 
 
 
2013/6/19 QXO < <ma...@gmail.com> qxodream@gmail.com>
The bug fixed in svn 1.8.0,Thanks:)
 
2013/5/24 Philip Martin < <ma...@wandisco.com> philip.martin@wandisco.com>
Dongsheng Song < <ma...@gmail.com> dongsheng.song@gmail.com> writes:

>> We do call bind_textdomain_codeset if it is available so we should be
>> getting UTF8 translations.
>>
>
> For non-autotools system, e.g. Windows, user may not define
> HAVE_BIND_TEXTDOMAIN_CODESET.
If you build the software with the wrong settings it may not work
properly.  The solution is to build it with the correct settings.
Perhaps you can improve the Windows build.

> Or we should call bind_textdomain_codeset as possible, and warn the
> user if HAVE_BIND_TEXTDOMAIN_CODESET not defined:
>
> #ifdef HAVE_BIND_TEXTDOMAIN_CODESET
>   bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
> #else
>   fprintf(sdterr, "bind_textdomain_codeset not available, or not
> configured.  Non-UTF8 locales maybe see garbled output.\n");
> #endif /* HAVE_BIND_TEXTDOMAIN_CODESET */
That error would be annoying if it was a false alarm.  Perhaps we could
verify the correct behaviour: call gettext and check whether the
returned string is valid UTF8?  However, we are not getting reports of
problems so it's probably not worth the effort.  The bug that started
this thread is about the exact opposite: gettext was returning UTF8 and
the output code was failing to convert to locale encoding.

--
Certified & Supported Apache Subversion Downloads:
 <http://www.wandisco.com/subversion/download> http://www.wandisco.com/subversion/download
 
 

Re: svnadmin upgrade output message i18n issue

Posted by Philip Martin <ph...@wandisco.com>.
QXO <qx...@gmail.com> writes:

> The bug found in svn 1.8.3(r1516576) again :(
>
> E:\svnmirror>D:\tools\svn-win32-1.8.3\bin\svnadmin.exe upgrade ZmccPrj
> 已取得版本库锁定�?请稍候;升级版本库可能需要一段时�?..
> ���������
>
> E:\svnmirror>D:\tools\svn-win32-1.8.0\bin\svnadmin.exe upgrade ZmccPrj
> ��ȡ�ð汾��������
> ���Ժ������汾�������Ҫһ��ʱ��...
> ���������
>
> 2013/6/19 QXO <qx...@gmail.com>
>
>> The bug fixed in svn 1.8.0,Thanks:)

As I recall you are using a non-UTF8 encoding.  There was a bug in 1.8.0
that caused double UTF8-to-native conversion for svnadmin, that was
fixed in 1.8.3.  Since you say 1.8.0 worked your build must be missing
one of the conversion.  How did you build Subversion?  Was it built with
ENABLE_NLS and HAVE_BIND_TEXTDOMAIN_CODESET?

Is anyone else using Windows in a non-UTF8 setup?

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Re: svnadmin upgrade output message i18n issue

Posted by Philip Martin <ph...@wandisco.com>.
QXO <qx...@gmail.com> writes:

> The bug found in svn 1.8.3(r1516576) again :(
>
> E:\svnmirror>D:\tools\svn-win32-1.8.3\bin\svnadmin.exe upgrade ZmccPrj
> 已取得版本库锁定�?请稍候;升级版本库可能需要一段时�?..
> ���������
>
> E:\svnmirror>D:\tools\svn-win32-1.8.0\bin\svnadmin.exe upgrade ZmccPrj
> ��ȡ�ð汾��������
> ���Ժ������汾�������Ҫһ��ʱ��...
> ���������
>
> 2013/6/19 QXO <qx...@gmail.com>
>
>> The bug fixed in svn 1.8.0,Thanks:)

As I recall you are using a non-UTF8 encoding.  There was a bug in 1.8.0
that caused double UTF8-to-native conversion for svnadmin, that was
fixed in 1.8.3.  Since you say 1.8.0 worked your build must be missing
one of the conversion.  How did you build Subversion?  Was it built with
ENABLE_NLS and HAVE_BIND_TEXTDOMAIN_CODESET?

Is anyone else using Windows in a non-UTF8 setup?

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*