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

RE: AW: Problems converting to/from utf-8

From: Barkey, Christian LUX <Christian.Barkey_at_HVB.lu>
Date: 2004-08-13 10:19:18 CEST

> I should eventually prepare a FAQ on how to deal with your problem,
> since this seems to turn up increasingly frequently.

Sound's a good Idea, because I think, Tobias, you and me, we are not the only people using these funny characters worldwide. I recently had a discussion with Toby Johnson from vss2svn-migration tool where these problems also came up.

> Here's how I solved the identical issue (on a NetBSD box),
> i.e. all server-side calls to svn* bailed out on the first non-ASCII byte > in a filename, but TortoiseSVN works like a charm:

> 1. Make sure your SVN installation (specifically apr-util, I think) is linked
> against libiconv. (If it isn't, you'll be out of luck with the following steps.)

I downloaded the win32 - edition of SVN from tigris.org. How can I check if this build is linked against libiconv?

> 2. The minimum locale setting required is LC_CTYPE. I've set it
> to "de_DE.ISO8859-1", but you'll have to figure out whatever is appropriate for Solaris.

Does anybody knows what has to be set under Win32? Simply hacking set de_DE.ISO8859-1 didn't do the trick, however I didn't expect it to work.

| When trying to svn add the file[ with german umlaute , the following error shows up.
| c:\_tst>svn add trunk/täst.txt
| svn: Safe data:
| "trunk/t"
| ... was followed by non-ascii byte 228.
|
| Non-ascii character detected (see above), and unable to convert to/from
| UTF-8
|
| svn list, svn log --verbose and svn status --verbose give the same error.
|
| Windows is set to german. On the server, the user running the repository has
|
| this language settings:
|
| $ locale
| LANG=
| LC_CTYPE="C"
| LC_NUMERIC="C"
| LC_TIME="C"
| LC_COLLATE="C"
| LC_MONETARY="C"
| LC_MESSAGES="C"
| LC_ALL=
|
| Committing the file with Tortoise works but I need the command line, too.
| Any idea, what to do about this?

**********************************************************************
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 Fri Aug 13 10:20:07 2004

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

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