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

Re: UTF-8 to native encoding problem on Mac OSX

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-08-19 15:35:11 CEST

Thorsten Möller <Thorsten.Moeller@umit.at> wrote on 08/19/2005 08:39:23
AM:

> im using Subclipse on Mac OSX. When I access files in the repository
which
> contain special chars (e.g., umlauts) I get error messages like "Can't
> convert string from UTF-8 to native encoding". On the other hand, I set
up a
> command alias pointing from "svn" to "env LC_CTYPE=de_DE.UTF-8
> /usr/local/bin/svn" as described here (www.snark.de/index.cgi/0003).
> Therefore, the svn command client works fine without those problem. What
do
> I need to do to get it working with Eclipse/Subclipse.

On Linux you would typically create a shell script that sets these
enviornment variables and then launches Eclipse and you would make that
script the launcher. I think it is also possible to pass these parms to
the Eclipse launcher. On OS X, I think you can edit a .plist file, or
something to get at the arguments passed to Eclipse at startup.

Also are you using the JavaHL adapter? If not, you should be. See the
FAQ for how to get it:

http://subclipse.tigris.org/faq.html#get-javahl

Finally, see this thread in the mailing list. It is someone that solved
this problem on OS X.

http://subclipse.tigris.org/servlets/BrowseList?list=users&by=thread&from=338834

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Fri Aug 19 23:35:11 2005

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

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