You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stefan Sperling <st...@elego.de> on 2008/08/20 17:55:23 UTC

Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

On Wed, Aug 20, 2008 at 11:22:10AM -0500, Steve Whitson wrote:
> [Wed Aug 20 11:01:25 2008] [error] [client 10.10.10.175] Can't convert  
> string from native encoding to 'UTF-8':  [500, #22]

Just a guess, because I had similar problems with character
set conversions in my custom Subversion builds once, which
made unit tests fail even though they were passing for everyone
else:

    Make sure Subversion is linked with libiconv.  

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

Posted by Steve Whitson <st...@gmail.com>.
Stefan Sperling wrote:
> On Wed, Aug 20, 2008 at 03:42:32PM -0500, Steve Whitson wrote:
>   
>>    Its definitely finding the iconv I just installed:
>>        ldd svn | grep iconv
>>            libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00c34000)
>>    Still the same errors.
>>     
>
> Then it's definitely a different problem.
> But I haven't got a clue what it could be though, sorry :(
>
> Stefan
>   
Thanks much for your help Stefan!  I did rebuild (reconfigure, clean and 
make) with apr-iconv and still am getting the same error.
    -Steve

Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

Posted by Stefan Sperling <st...@elego.de>.
On Wed, Aug 20, 2008 at 03:42:32PM -0500, Steve Whitson wrote:
>    Its definitely finding the iconv I just installed:
>        ldd svn | grep iconv
>            libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00c34000)
>    Still the same errors.

Then it's definitely a different problem.
But I haven't got a clue what it could be though, sorry :(

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

Posted by Steve Whitson <st...@gmail.com>.
Stefan Sperling wrote:
> On Wed, Aug 20, 2008 at 02:19:25PM -0500, Steve Whitson wrote:
>   
>>    Stefan Sperling wrote:
>>
>> On Wed, Aug 20, 2008 at 11:22:10AM -0500, Steve Whitson wrote:
>>   
>>
>> [Wed Aug 20 11:01:25 2008] [error] [client 10.10.10.175] Can't convert  
>> string from native encoding to 'UTF-8':  [500, #22]
>>     
>>
>> Just a guess, because I had similar problems with character
>> set conversions in my custom Subversion builds once, which
>> made unit tests fail even though they were passing for everyone
>> else:
>>
>>     Make sure Subversion is linked with libiconv.  
>>
>> Stefan
>>
>>   
>>
>>    How would I go about doing or ensuring this?  I see that the apr-util
>>    has a -liconv  in the SVN_APRUTIL_EXPORT_LIBS noted in the config.log
>>    file.
>>    I didn't find libiconv on my system, so I just built and installed it
>>    (to /usr/local).  I cleaned up my subversion build, rebuilt and didn't
>>    get any different results.
>>     
>
> You can check with ldd. On one of my systems, I get:
> $ ldd /usr/local/bin/svn | grep iconv
>         0593a000 25a19000 rlib 0    17   0 /usr/local/lib/libiconv.so.5.0
>
> If Subversion can't find an iconv() implementation on your system,
> you could also try installing apr-iconv from apr.apache.org and
> then recompiling subversion. You can pass the --with-apr-iconv
> option to Subversion's configure script to point it to your
> apr-iconv installation. See also the INSTALL file which comes with
> Subversion's source code distribution. It also talks about apr-iconv.
>
> Stefan
>   

Its definitely finding the iconv I just installed:
    ldd svn | grep iconv
        libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00c34000)

Still the same errors.

Thanks much!
    -Steve


Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

Posted by Stefan Sperling <st...@elego.de>.
On Wed, Aug 20, 2008 at 02:19:25PM -0500, Steve Whitson wrote:
> 
>    Stefan Sperling wrote:
> 
> On Wed, Aug 20, 2008 at 11:22:10AM -0500, Steve Whitson wrote:
>   
> 
> [Wed Aug 20 11:01:25 2008] [error] [client 10.10.10.175] Can't convert  
> string from native encoding to 'UTF-8':  [500, #22]
>     
> 
> Just a guess, because I had similar problems with character
> set conversions in my custom Subversion builds once, which
> made unit tests fail even though they were passing for everyone
> else:
> 
>     Make sure Subversion is linked with libiconv.  
> 
> Stefan
> 
>   
> 
>    How would I go about doing or ensuring this?  I see that the apr-util
>    has a -liconv  in the SVN_APRUTIL_EXPORT_LIBS noted in the config.log
>    file.
>    I didn't find libiconv on my system, so I just built and installed it
>    (to /usr/local).  I cleaned up my subversion build, rebuilt and didn't
>    get any different results.

You can check with ldd. On one of my systems, I get:
$ ldd /usr/local/bin/svn | grep iconv
        0593a000 25a19000 rlib 0    17   0 /usr/local/lib/libiconv.so.5.0

If Subversion can't find an iconv() implementation on your system,
you could also try installing apr-iconv from apr.apache.org and
then recompiling subversion. You can pass the --with-apr-iconv
option to Subversion's configure script to point it to your
apr-iconv installation. See also the INSTALL file which comes with
Subversion's source code distribution. It also talks about apr-iconv.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

Posted by Steve Whitson <st...@gmail.com>.
Stefan Sperling wrote:
> On Wed, Aug 20, 2008 at 11:22:10AM -0500, Steve Whitson wrote:
>   
>> [Wed Aug 20 11:01:25 2008] [error] [client 10.10.10.175] Can't convert  
>> string from native encoding to 'UTF-8':  [500, #22]
>>     
>
> Just a guess, because I had similar problems with character
> set conversions in my custom Subversion builds once, which
> made unit tests fail even though they were passing for everyone
> else:
>
>     Make sure Subversion is linked with libiconv.  
>
> Stefan
>
>   
How would I go about doing or ensuring this?  I see that the apr-util 
has a -liconv  in the SVN_APRUTIL_EXPORT_LIBS noted in the config.log file.

I didn't find libiconv on my system, so I just built and installed it 
(to /usr/local).  I cleaned up my subversion build, rebuilt and didn't 
get any different results.

Thanks much,
    -Steve

Re: Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

Posted by Steve Whitson <st...@gmail.com>.
Stefan Sperling wrote:
> On Wed, Aug 20, 2008 at 11:22:10AM -0500, Steve Whitson wrote:
>   
>> [Wed Aug 20 11:01:25 2008] [error] [client 10.10.10.175] Can't convert  
>> string from native encoding to 'UTF-8':  [500, #22]
>>     
>
> Just a guess, because I had similar problems with character
> set conversions in my custom Subversion builds once, which
> made unit tests fail even though they were passing for everyone
> else:
>
>     Make sure Subversion is linked with libiconv.  
>
> Stefan
>
>   
How would I go about doing or ensuring this?  I see that the apr-util 
has a -liconv  in the SVN_APRUTIL_EXPORT_LIBS noted in the config.log file.

I didn't find libiconv on my system, so I just built and installed it 
(to /usr/local).  I cleaned up my subversion build, reconfigured it, 
rebuilt and didn't get any different results.

Thanks much,
    -Steve