Thank you for your answer, Manfred.
I decided to switch to the Solaris box because I don´t know, how to set
Windows to "de_DE.ISO8859-1".
So I did:
$ ldd /usr/local/bin/svn | grep libiconv
libiconv.so.2 => /usr/local/lib/libiconv.so.2
Looks good, I hope.
So I set LC_CTYPE to "de_DE.ISO8859-1". LANG and LC_ALL were unset, the rest
set on "C". The result was the same error as with Windows when trying a
checkout.
After an
export LC_CTYPE="de_DE.UTF-8"
I was able to checkout the repository with a funny looking file in trunk.
$ svn checkout svn://server/tst .
A trunk
A trunk/täst.txt
A trunk/foo.txt
A trunk/test.txt
A trunk/long.txt
A branch
A tags
Checked out revision 2.
Adding a second umlaute file and trying to add.
$ touch töüst.txt
$ l
total 0
-rw-r----- 1 qqsvn svn 0 Aug 13 17:16 foo.txt
-rw-r----- 1 qqsvn svn 0 Aug 13 17:16 long.txt
-rw-r----- 1 qqsvn svn 0 Aug 13 17:16 test.txt
-rw-r----- 1 qqsvn svn 0 Aug 13 17:16 täst.txt
-rw-r----- 1 qqsvn svn 0 Aug 13 17:18 töüst.txt
$ svn add töüst.txt
svn: Valid UTF-8 data
(hex: 74)
followed by invalid UTF-8 sequence
(hex: f6 fc 73 74)
I think I´m stuck in the locale jungle. Can anybody help me out or give
advice to other sources?
Many thanks,
Tobias
> Tobias,
>
> welcome to the club of users whose written native tongues use funny
> characters :-)
>
> I should eventually prepare a FAQ on how to deal with your problem, since
> this seems to turn up increasingly frequently.
>
> 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.)
>
> 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.
>
> 3. If you run utilities, e.g. WebSVN, which call svn* server-side, make
> sure that the environment from which svn* are being invoked, has LC_CTYPE
> defined as well.
>
> Hope this helps!
>
> ;-) -Manfred
>
> | -----Ursprüngliche Nachricht-----
> | Von: Tobias Schaller [mailto:Tobias.Schaller@gmx.net]
> | Gesendet: Donnerstag, 12. August 2004 16:43
> | An: users@subversion.tigris.org
> | Betreff: Problems converting to/from utf-8
> |
> | Hi,
> |
> | We are using Subverion 1.05. The server is running on a Solaris machine,
> | software installed from the packages available from sunfreeware.com.
> |
> | The clients are running on WinXP or Win2000 using svn command line
> | or TortoiseSVN.
> |
> | In our repository we have files with german umlaute (ä, ö etc).
> |
> | I checked out a working copy from a test repository on the Solaris
> machine
> | (without umlaute).
> | c:\_tst>svn checkout svn://server/tst .
> | A trunk
> | A trunk\foo.txt
> | A trunk\long.txt
> | A trunk\test.txt
> | A branch
> | A tags
> | Checked out revision 1.
> |
> | Added the file täst.txt to the working copy.
> | c:\_tst>dir /b trunk
> | foo.txt
> | long.txt
> | test.txt
> | täst.txt
> |
> | When trying to svn add the file, 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?
> |
> | Many thanks,
> | Tobias
> |
> | --
> | NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
> | GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
> |
> |
> |
> | --
> | NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
> | GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
> |
> |
> | ---------------------------------------------------------------------
> | To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> | For additional commands, e-mail: users-help@subversion.tigris.org
>
--
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 13 17:26:38 2004