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

Re: Is --enable-utf8 working everywhere?

From: Ulrich Drepper <drepper_at_redhat.com>
Date: 2002-07-16 23:53:37 CEST

On Tue, 2002-07-16 at 10:41, Blair Zajac wrote:

> #0 0x000318c4 in apr_xlate_conv_buffer (convset=0x0, inbuf=0xffbef380
> "stringtest.tmp", inbytes_left=0xffbef0ac, outbuf=0x558f0 "twice as long",
> outbytes_left=0xffbef0a8) at xlate.c:308
> 308 if (convset->ich != (iconv_t)-1) {
> (gdb) bt
> #0 0x000318c4 in apr_xlate_conv_buffer (convset=0x0, inbuf=0xffbef380
> "stringtest.tmp", inbytes_left=0xffbef0ac, outbuf=0x558f0 "twice as long",
> outbytes_left=0xffbef0a8) at xlate.c:308
> #1 0x0002116c in convert_to_stringbuf (convset=0x0, src_data=0xffbef380
> "stringtest.tmp", src_length=14, dest=0xffbef134, pool=0x55708)
> at subversion/libsvn_subr/utf.c:164
> #2 0x0002161c in svn_utf_cstring_from_utf8 (dest=0xffbef1b4, src=0xffbef380
> "stringtest.tmp", pool=0x55708) at subversion/libsvn_subr/utf.c:375

I don't have access to the sources so take this with a grain of salt.

It looks as if the function svn_utf_cstring_from_utf8 calls to get a
iconv descriptor returns NULL as a sign that no such converstion is
possible. iconv_open normally signals this with (iconv_t)-1. So this
can be a simple mismatch. The error might not be visible on other
platforms because they actually do have a decent amount of converters
available.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Received on Tue Jul 16 23:54:27 2002

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

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