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

Re: svn list -v french date format issue

From: Barkey, Christian LUX <Christian.Barkey_at_HVB.lu>
Date: 2004-09-02 09:22:22 CEST

Hello Manfred,

thank you, Manfred, I'm a little bit proud to be quoted by you. :-)
There is another tough guy (SteveKing) who brought even more
light into this:

> -----Original Message-----
> The issue you've got has in fact been dealt with in this
> mailing list, but since I'm not
> a Windows expert, let me just point you to messages with
> "Problems converting to/from utf-8" in their subject lines,
> particularly those by Christian Barkey.
>
> Perhaps even the following will help you out:
>
> -------------------------8<--------------------------------------
>
> My downloaded version IS linked against libiconv, since it is
> simply installed as a subdirectory of subversion. BUT there
> has to be set an environment variable APR_ICONV_PATH to point
> to this directory to get everything in touch. This
> under Windows NT.
> On my Windows XP PC I have also installed TortoiseSVN which,
> same as for you, works like a charm. But the commandline
> tools all failed for international characters. The
> environment variable APOR_ICONV_PATH is also set on this PC, but
> points to the installation of TortoiseSVN. I assumed, this is
> the reason, why Tortoise works well and svn not.
> I modified the variable to point to my installed subversion
> directory/iconv and, *wow*, now I'm able to work on files
> with these funny characters in it with the commandline tools.
>
> [...]
>
> As described above: The trick is to set APR_ICONV_PATH to the
> correct path. TortoiseSVN-iconv and Subversion-iconv - installation
> seem to be incompatible, at least on my station.
>

[Lars Klose wrote...]
> > Indeed svn and tortoise had separate iconv dirs, the one from tortoise > > was set as default. When I set the env variable to the svn iconv dir, > > svn works from the command line - will I have the same problem with
> > tortoise then?! What is the "correct" way to solve this?

[SteveKing wrote...]
> No. There's no correct way to solve this right now. That's why
> TortoiseSVN has now patched the apr-iconv library to _not_ use the
> APR_ICONV_PATH environment variable anymore (only as a fallback, if the > new added method doesn't find the so modules).
> So, as soon as TSVN 1.1.0 is out, that problem should be gone for good.

I think, up to know, this issue is handled more and more. Shall it go into
the FAQ? Maybe like:

Question:
My svn command line client und windows claims about beeing unable to convert to/from UTF-8.
What do I have to do?

Solution:
Check the environment variable APR_ICONV_PATH. It shall point to
the iconv - directory shippping with your subversion installation. Please also
check if TortoiseSVN (<1.1.0) ist installed, which modifies the APR_ICONV_PATH
variable.
For a standard installation, the following command issued on command line shall
do the right:
set APR_ICONV_PATH=C:\Program Files\Subversion\iconv

Best Regards
Christian

**********************************************************************
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.
If you are not the intended recipient, please call or e-mail the sender and delete the message and any attachment from your system.
If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person.

E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive later
or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions in the contents of this message which arises as a result of e-mail transmission.

If verification is required please request a hard-copy version. This message is provided for informational purposes only
and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.

**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 2 09:23:24 2004

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