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

utf8 not working with latest APR

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-17 17:51:04 CEST

Bill Rowe is changing the entire apr_xlate implementation right now;
if you try to use the latest APR, then subversion won't work at all if
build it with --enable-utf8.

The problem Bill is trying to solve:

   * iconv is spotty and weird across different unix platforms

   * iconv doesn't exist at all on win32; win32 only knows how to
     translate from native->UTF8, but not the other way around. (the
     reverse direction can be emulated, but only verrrrrry slowly)

His solution so far:

   * create a new portable apr-iconv library, a standalone thing.
     fill it with many, many translation tables.

   * move the apr_xlate API into apr-iconv.

Of course, Subversion's build system knows nothing about compiling
apr-iconv, even if it's sitting right next to apr and apr-util. So
whenever one of the svn_utf_* functions are called, apr returns an
error, and so does svn.

For now, the solution is to make sure your apr is at least a couple
days old. I just did a "cvs up -dP -D 'last week'", and that seems to
work fine.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 17 17:52:41 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.