Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-21-2007, 10:47 AM   #1
Registered: Oct 2003
Location: Calgary, AB, Canada
Distribution: CentOS, Ubuntu
Posts: 32

Rep: Reputation: 0
Question Samba extended character encoding

I have several files whose filename contain extended characters. These files were created on a Windows machine and the files later copied to my Debian smb share.

Windows PC's see the filename as it should be. Linux displays "junk" characters in place of the extended character.

For example:

Windows PC: Vise
Linux PC: Vis�e

Windows PC: Bourre
Linux PC: Bourrée

Is there any way that I can correct this issue? I'm currently running Debian lenny.
Old 12-09-2007, 09:13 AM   #2
LQ Newbie
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0

This might help. See below, I found this under the following link:


Windows partitions use CP850 encoding, not ISO-8859-1 encoding. If you are unfortunate enough to transfer files from a Windows partition to an ext3 partition, and you forget to mount the partition using nls=utf8, you need to convert your filenames using:

convmv -f cp850 -t utf-8 -r *.*

There are Nautilus scripts and Konqueror service menus available that will perform this operation for you as well.

If you have archives of ISO-8859-1 encoded files, you need use the following to convert the filenames of your extracted files to UTF-8:

convmv -f iso-8859-1 -t utf-8 -r *.*

convmv can handle many different encodings:

convmv --list


ascii, character, encoding, extended, language, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Firefox character encoding Quakeboy02 Linux - Software 4 05-22-2008 12:51 PM
Having Trouble with character encoding amit_usual Ubuntu 2 06-15-2007 12:35 PM
Confused about character encoding MasterOfTheWind Linux - Software 0 04-14-2006 11:23 AM
Character encoding problems eduac Linux - Software 5 08-02-2005 06:48 PM
C Multibyte character encoding ugenn Programming 0 12-14-2003 07:44 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:46 AM.

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