LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2006, 02:02 AM   #1
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Charset problems


Hi,

Yesterday I installed Ubuntu on my desktop and noticed that it was using UTF-8 as default. My server is using ISO 8859-1 now and I couldn't see it's files throught nfs correctly. That's why I configured the desktop to use 8859-1, too.

Now I can see files on my server right, but the filenames on the desktop are all wrong!

What should I do now.. configure both Ubuntus to use UTF-8 / 8859-1? And how can I convert the filenames and correct them?
 
Old 05-26-2006, 03:25 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
From the mount man page:
Quote:
Mount options for ntfs
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain unconvertible charac‐
ters. Deprecated.

nls=name
New name for the option earlier called iocharset.

utf8 Use UTF-8 for converting file names.
I'm not certain, but I think you need the mount option "nls=iso8859-1", but I have "nls=utf8"
 
Old 05-26-2006, 04:00 AM   #3
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Now I managed to convert filenames using convmv. Now it's working fine - I think. Still I don't know which charset I should use. UTF-8 might be a better choice...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL to XML - charset problems Boby Programming 1 04-20-2005 08:22 AM
Trouble with charset? dreamtheater Linux - Software 2 07-15-2004 06:12 AM
BMP Charset gamehack Slackware 0 04-26-2004 09:58 AM
Charset in MySQL YMJ Programming 1 03-26-2003 03:35 PM
Apache2: Charset and Encoding Problems sarmadys Linux - General 0 11-17-2002 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration