Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-26-2009, 02:01 PM
|
#1
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Rep:
|
Special characters in reiserfs
Hi,
I want to name files and folders with special characters like "á", "ç" or "ô". The way my /etc/fstab is specified it can't do that. how can I do it?
cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / reiserfs notail 0 1
/dev/hda3 /home reiserfs defaults 0 2
/dev/hda1 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
thanks
|
|
|
02-26-2009, 02:19 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Ummm ... that's not a file-system issue ... I'm using Reiser here.
Code:
tmp$ mkdir aôa
tmp$ ls -lt
total 52
drwxr-xr-x 2 tink users 48 2009-02-26 09:18 aôa
Check your locale
|
|
|
02-26-2009, 02:24 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
That is strange! I'm French, and I've used all sorts of French characters é à ù ô ë È in many filenames since years. (I use ReiserFS by the way, but I think this is totally unrelated.)
I even created a 日本語 ("japonais" en français) folder on one my partitions, and linked it on my desktop without any problem; even the command-line deals with it fine.
What is your distribution, and what makes you think you cannot use such characters?
Yves.
|
|
|
02-26-2009, 03:00 PM
|
#4
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
Dudes, i am sorry. is not a file system problem.
I just realized that is something with rsync.
Rsync daemon is running on a Debian 4 machine.
Rsync clients are running in windows machines.
when I send files to the debian server it desconfigures filenames.
rsync -Cavz --delete ... for the file "Estações de trabalho" in windows transforms into "Esta??es de trabalho" in Debian server.
Any clues?
|
|
|
02-26-2009, 03:21 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
UTF-8 on windows, iso-8859-? on Debian?
|
|
|
02-26-2009, 07:19 PM
|
#6
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
Didn't get it
|
|
|
02-26-2009, 09:15 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Which part?
Have a read of
man iconv
man rsync
/iconv
Find out what locale the debian machine uses
env | egrep "LC|LANG"
|
|
|
02-27-2009, 11:33 AM
|
#8
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
# env | egrep "LC|LANG"
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR t:en
I understood that iconv converts the hole file not its filename. is that correct?
|
|
|
02-27-2009, 12:01 PM
|
#9
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
|
|
|
02-27-2009, 03:13 PM
|
#10
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Excellent work, glad you got that sorted ;}
Sorry I didn't get a chance to respond sooner,
time-zones, you see :D
Adeus,
Tink
|
|
|
All times are GMT -5. The time now is 02:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|