Help with MacOsX native encoding when using SSH

Ryan Schmidt ryandesign at macports.org
Sun Feb 1 02:25:13 PST 2009


On Feb 1, 2009, at 03:21, Jean-Michel Pouré wrote:

> I am connecting to a remove MacOsX computer using SSH from a GNU/Linux
> Debian station.
>
> Accents are not displayed well. When I try to svn diff in the SVN tree
> to send patches, it answers:
>
> Ordinateur-de-Bruno:/opt/mports/trunk/dports/audio/libsamplerate
> kdenlive$ svn diff
> Index: Portfile
> ===================================================================
> svn: Impossible de convertir la cha?\195?\174ne de 'UTF-8' vers
> l'encodage natif:
> svn: --- Portfile	(r?\195?\169vision 46176)
> +++ Portfile	(copie de travail)
>
> How can I connect using MacOsX native encoding in SSH. Any idea?

Set the LANG environment variable to the correct value. On my Tiger  
system, I set it to "en_US.UTF-8"; you may wish to use a different  
locale.

The encoding of the locale (UTF-8, in my case) must match the  
encoding that your terminal expects. I have configured my  
Terminal.app in Tiger to expect UTF-8; check your ssh client to see  
what encoding it expects.



More information about the macports-dev mailing list