Terminal and Unicode

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Mon Jan 31 13:24:40 CET 2005


Christian Heinze wrote:
> Hello everyone,

Hello Christian,

> I encountered a problem on Terminal due to a character conversion. I was 
> trying to samba-mount a share in my local network that contains a german 
> umlaut. The command went like this:
> 
> 'smbmount //HOST/öffentlich ~/mnt/'
> 
> I always got of with the error message 'No such share found'. Since 
> Nautilus, the GNOME file manager, has no problem finding and accessing 
> this share, I figured that it must be a character conversion issue. Some 
> helpful fellow on the #xfce channel pointed out for me how to convert 
> the umlaut into unicode. I repeated the above command, the 'ö' replaced 
> with the appropriate unicode notation, and it worked.
> 
> It is of course inconvinient to always type this command with a 
> cryptic-looking unicode character inside. Thus my question is: what 
> character encoding does Terminal use, and how is it possible to change 
> this encoding to utf-8 (=unicode)?

Terminal uses Vte, and Vte in turn uses UTF-8 internally. What do you 
use for LC_ALL/LC_CTYPE?

Benedikt



More information about the Xfce mailing list