Ben Collins-Sussman <sussman@collab.net> writes:
> So I compiled subversion with --enable-utf8, and suddenly started
> getting errors on *every* invocation of 'svn':
> 
> apr_error: #22, src_err 0 : <Invalid argument>
>   (charset translator procurement failed)
> 
> So I traced into our call to apr/i18n/unix/xlate.capr_xlate_open().
> 
> This function had "UTF-8" passed in already, and the value
> APR_LOCALE_CHARSET caused the code to run nl_langinfo(CODESET).  The
> return value from nl_langinfo was "ISO8859-1".
> 
> Then we call iconv_open() on these two strings:  bam, I get an EINVAL
> error.  What's invalid, you ask?
> 
> It turns out that my iconv only accepts "ISO-8859-1", not "ISO8859-1":
What are your $LC-variables set to?  Maybe FreeBSD is being stupid
about this and just returning whatever you set without verifying that
it's valid?
  // Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 11 21:53:00 2002