Portuguese characters

Hi, first sorry for my bad English.

Here I have some files with "ç" and "é" that appear strange. If I type % mkdir você it appears as
Code:
% mkdir voc\352
and if I try to see it with ls it appears like this
Code:
voc?

My lang:
Code:
%echo $LANG
pt_BR.UTF-8

And my locale:
Code:
%locale
LANG=pt_BR.UTF-8
LC_CTYPE="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_ALL=pt_BR.UTF-8

What I can do to fix this?
Thanks.
 
\352 is a single-byte character, while the utf-8 encoding of any non-ascii-character is at least two bytes long.

If you add
Code:
CHARSET=UTF-8
to your profile settings and restart the terminal/session, you _should_ be able to create the path you want properly (notice the old one will remain the way it is)
 
Back
Top