LinuxQuestions.org
Review your favorite Linux distribution.
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 01-07-2004, 01:04 PM   #1
amelieo
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
SuSE -> Fedora: character set on file system


Hi all,

I have had SuSE 8.2 installed on my system and replaced it by Fedora Core 1 now. I have left my data partition with ext2 filesystem (created using SuSE linux) untouched.

I can access the "old" data partition but all special characters in file names (german umlauts, characters with accents) appear strange:
- using the KDE file explorer the characters do not appear at all, it looks like they are not part of the name. When I try to open a directory with a special character the explorer tells me that the directory does not exist.
- mounting the file system on my Mac using OS X the characters show up as chinese signs (looks interesting, but this is not really usable )

Is there any setting to control this behaviour?
 
Old 01-07-2004, 05:24 PM   #2
torkn
LQ Newbie
 
Registered: May 2003
Location: Norway
Distribution: RedHat 9
Posts: 2

Rep: Reputation: 0
RedHat and Fedora normally use the UTF8 unicode character set while, as far as I remember, SuSE uses ISO8859-1. Open the file /etc/sysconfig/i18n and replace all occurences of "UTF8" with "ISO8859-1". (May depend on which language you normally use). That may solve your problem.
 
Old 01-09-2004, 03:15 PM   #3
amelieo
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for ansering, torkn.

I changed i18n and it had an effect on the characters showing in KDE: the special characters show in different ways, but unfortunately not the right way :-( I tried UTF8, ISO8859-1 and CP850 (see below). None of them shows my umlauts correctly.

But I have found a solution for the Samba part of the problem: strange enough I have to use code page 850 as character set ("unix charset = cp850") to display the correct characters on other machines (mac and windows) mounting the share.

Anybody any more ideas for KDE ?
 
Old 01-10-2004, 12:03 PM   #4
torkn
LQ Newbie
 
Registered: May 2003
Location: Norway
Distribution: RedHat 9
Posts: 2

Rep: Reputation: 0
Sorry that it didn't solve your problem.
Did you try any of the other 8859-codes? I use a computer with RedHat 7.1 as a Samba fileserver for Windows and Linux (Fedora) machines. It has been running continuously for I have forgotten how long. The fileserver uses "ISO8859-1" character set in "i18n" and "client codepage=850" in "smb.conf". This works well both for Windows and Fedora clients. I also have a FAT32 harddisk partition on my computer which is used both by Fedora and Windows 2000, with no problem.
 
Old 01-13-2004, 01:15 PM   #5
amelieo
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Hallo again torkn,

never mind you could not solve the problem completely but you have helped me thinking into the right direction.

I have found a solution now with a different approach. Maybe it can help somebody else so I write it down here.

I recoded the file names of my disk from CP850 to UTF-8 the following way.

- set "unix charset = cp850" in smb.conf and restart smbd
- mount the drive and copy all files to another computer
- unmount samba
- set "unix charset = UFT-8" in smb.conf and restart smbd
- mount again and copy files back

This way all my file names are in UTF-8 now and they show up correctly in samba and in KDE.

This might not be the easiest way but it worked for me.
 
Old 03-12-2004, 05:06 AM   #6
flosch
LQ Newbie
 
Registered: Jul 2003
Location: Austria
Distribution: RH9 mdk10 Gentoo!
Posts: 10

Rep: Reputation: 0
charset - special caracters not readable

Hi there!

thanks for your comments, helped to solve the problem!

http://www.petah.at/forum/viewtopic.php?t=82

Problem was, not to be able to read previous copied (from ntfs to ext3) files within linux environment. Special characters were not displayed and files not acessible, what a joy!
Because of use of the english language for OS the mistake was found in /etc/sysconfig/i18n.
old one:
Code:
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en:de_AT.UTF-8:de_AT:de"
new one:
Code:
LANG="de_AT.ISO8859-15"
SUPPORTED="en_US.UTF-8:en_US:en:de_AT.UTF-8:de_AT:de_AT.ISO8859-15"
 
Old 10-18-2004, 04:19 AM   #7
borgand
LQ Newbie
 
Registered: Oct 2004
Location: Tartu, Estonia
Posts: 1

Rep: Reputation: 0
I just found this thread and thought i post a reply just for those that find this by googling.

To convert filenames and filesystems from one charset to another you can use the 'convmv' command. SuSE 9.1 has this in the base install, but if your distro does not have it (as for Fedora Core 3 RC2 for example) check there:

http://freshmeat.net/projects/convmv

Laas
 
  


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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
set up dual boot with XP and Suse 9.0 with NTFS file system rsamb Linux - Distributions 11 09-29-2004 06:48 PM
Hebrew Character set in fedora core 2 hq4ever Linux - Newbie 0 07-19-2004 01:26 PM
Hebrew Character set in fedora core 2 hq4ever Fedora 0 07-18-2004 01:36 PM
I need help because I am trying to set up a dual boot system with win XP and Fedora fedoracorechris Fedora 3 04-11-2004 09:24 AM

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

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