LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-19-2006, 04:31 AM   #1
benben_shen
LQ Newbie
 
Registered: Nov 2005
Location: Singapore
Distribution: Ubuntu / Debian
Posts: 26

Rep: Reputation: 15
specify encoding method when mounting a local drive


Hi guys:

I am trying to find out is there anyway that we can specify the encoding char set when mount a local drive.

I am using Ubuntu live CD, and it is lucky that when plug in USB drive, it automatically mounted on to the system and using correct char set e.g. Chinese Simplified. But for local harddisk, or even if I unmount the usb drive and mount it manually, then the char set is always english, and my chinese files appears to be ????only.

So is there any way that we can change the mounting char set setting.

Thanks a lot
 
Old 03-19-2006, 02:33 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i assume this is a windows drive ?
in /etc/fstab you would put
codepage=936,iocharset=cp936
in the comma seperated stuff (4th field)
for simplified chinese
i think
 
Old 03-19-2006, 09:00 PM   #3
benben_shen
LQ Newbie
 
Registered: Nov 2005
Location: Singapore
Distribution: Ubuntu / Debian
Posts: 26

Original Poster
Rep: Reputation: 15
your assumption is 100% right , will try it out.
 
Old 04-02-2006, 04:12 AM   #4
benben_shen
LQ Newbie
 
Registered: Nov 2005
Location: Singapore
Distribution: Ubuntu / Debian
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks, but seems I don't know how, heihei

Quote:
Originally Posted by foo_bar_foo
i assume this is a windows drive ?
in /etc/fstab you would put
codepage=936,iocharset=cp936
in the comma seperated stuff (4th field)
for simplified chinese
i think
Hi, Thanks a lot for your advice, after a very busy month, I finally got a chance to try what you have told me.

I opened up /etc/fstab, what I saw is as follows:

/dev/mapper/casper-snapshot / auto noatime 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

so where should I add in what you have showed me, ie.e the codepage and iocharset, also it is writable only under root acount. what is the default password for "root", any idea? thanks a lot.
 
  


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
local encoding crAckZ Mandriva 0 09-16-2005 01:23 PM
mounting local hard drive in a remote shell (SSH) noir911 Linux - General 1 06-24-2005 05:55 AM
Hard drive dying, good backup method cadj Linux - Software 3 12-14-2004 07:28 PM
mounting local hard drive, permissions plasticus Linux - Hardware 5 02-15-2004 03:14 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 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