LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-17-2008, 11:58 AM   #1
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Rep: Reputation: 15
invalid unicode (cdw)


hi guys,
i am getting problems when trying to write some files to CD because of their names ... it says "invalid unicode", and stops the writing process.

in the other sense, from CD to disk, or from hard disk to hard disk, or to usb devices, there is not problem.

it looks like a configuration problem ...

any ideas ???

thanks in advance,

hector

i have fedora C6 in both my pc and laptop; same problem i those two machines :-(
 
Old 03-18-2008, 11:01 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by hDUQUE View Post
hi guys,
i am getting problems when trying to write some files to CD because of their names ... it says "invalid unicode", and stops the writing process.

in the other sense, from CD to disk, or from hard disk to hard disk, or to usb devices, there is not problem.

it looks like a configuration problem ...

any ideas ???

thanks in advance,

hector

i have fedora C6 in both my pc and laptop; same problem i those two machines :-(
You can sometimes get this problem when the file names contain letters not found in the English alphabet. I think that the solution is to tell Linux to use UTF-8 encoding on the CD-ROM. I have never done that but I think this may be the solution:

Quote:

For FAT and ISO9660 (used by CD-ROMs) partitions, option utf8 makes the system translate the filesystem's character encoding to UTF-8. For NTFS, nls=utf8 is the recommended option (utf8 should also work). Add these mount options to filesystems of these types in your /etc/fstab to make them mount with the correct options. A fragment of /etc/fstab might then look like this (other options may vary depending upon your setup):

/dev/hda2 /mnt/c ntfs defaults,ro,nls=utf8 1 0
/dev/hda3 /mnt/d vfat defaults,quiet,utf8 1 0
/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,users,ro,utf8 0 0
# If using supermount, add "utf8" to the options _after_ two dashes, e.g.
#none /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom,--,auto,ro,utf8 0 0
/dev/fd0 /mnt/floppy auto defaults,noauto,users,rw,quiet,utf8 0 0

After you modify /etc/fstab, you should remount the filesystems in question by issuing a mount -o remount /mnt/mount-point command for each of them. Non-ASCII characters in filenames on those filesystems should now be displayed correctly again. Note that this requires the kernel to be capable of converting between character sets, so support for UTF-8 must be compiled in or available as a module. This option is available in "File systems"->"Native Language Support"->"NLS UTF-8" in the kernel configuration program.
http://www.linux.com/feature/39912

----------------------------
Steve Stites
 
Old 03-19-2008, 02:19 PM   #3
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Rep: Reputation: 15
hi jailbait, thanks for asnwer,

my fstab looks like that

Quote:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sda1 /home/backMUSIC ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,users,ro,utf8 0 0

but, my gnome cd creator (fedora c6) does not mount with those parameters ...
am i doind something wrong?

regards,
hector
 
Old 03-19-2008, 04:11 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by hectorDUQUE View Post



but, my gnome cd creator (fedora c6) does not mount with those parameters ...
am i doind something wrong?
No, I think Nautilus CD creator is doing something wrong:

Quote:

Nautilus CD Burner checks names of files added to its window for UTF-8 validity. This is wrong for users of non-UTF-8 locales. Also, Nautilus CD Burner unconditionally calls mkisofs with the -input-charset UTF-8 parameter, which is only correct in UTF-8 locales.

The general rule for avoiding this class of problems is to avoid installing broken programs.

http://www.linuxfromscratch.org/blfs...le-issues.html

Read the section starting with: "The Program Uses or Creates Filenames in the Wrong Encoding".

I think that you should try some other CD burner like k3b or cdrecord.

-----------------------
Steve Stites
 
  


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
LXer: CDW to Sell Oracle Unbreakable Linux Support LXer Syndicated Linux News 0 11-18-2007 12:10 PM
invalid unicode in Fedora Core abhorrent Fedora 2 09-04-2004 08:15 PM
Invalid unicode?? zzyber Fedora - Installation 0 08-23-2004 01:24 PM
ext3 & invalid unicode mfehr Fedora - Installation 1 06-05-2004 02:48 PM
Invalid Unicode on DVD Disc/Volume Label DraconianTimes Linux - Software 2 11-30-2003 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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