openSUSE Forums > Applications » Filename encoding in archives from windows

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read

Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Jul-2009, 10:42
Puzzled Penguin
 
Join Date: Jul 2009
Location: Chambly, Canada
Posts: 16
p_barill hasn't been rated much yet
Post Filename encoding in archives from windows

Hello,

I got a bunch of personal archives (7z, zip, tar), made under Windows (2k, xp) that I would like to extract in openSUSE. Problem is that once extracted, accented characters are obliterated. Järvi becomes J??rvi.

I suppose it has to do with character encoding. I looked at convmv command, but it won't work (Your Perl version has fleas #37757 #49830
wrong/unknown "from" encoding!) and seems to be a very cumbersome way if you have more than 2 files.

Within an mp3 file, the ID3 tags are impeccable. Only filename gives problems.

Any easy way to fix this when accessing the archive?
Reply With Quote
  #2 (permalink)  
Old 06-Jul-2009, 15:24
Camaleón
Guest
 
Posts: n/a
Default Re: Filename encoding in archives from windows

p barill wrote:

> I got a bunch of personal archives (7z, zip, tar), made under Windows
> (2k, xp) that I would like to extract in openSUSE. Problem is that once
> extracted, accented characters are obliterated. Järvi becomes J??rvi.
>
> I suppose it has to do with character encoding. I looked at convmv
> command, but it won't work (Your Perl version has fleas #37757 #49830
> wrong/unknown "from" encoding!) and seems to be a very cumbersome way
> if you have more than 2 files.
>
> Within an mp3 file, the ID3 tags are impeccable. Only filename gives
> problems.
>
> Any -easy- way to fix this when accessing the archive?


Try mounting the samba resource with utf-8 charset encoding (all in one
line):

***
su -c 'mount -t cifs //server/resource /mnt -o
iocharset=utf8,user=samba_share_user,password=samb a_share_password'
***

*Be carefull* with the above command as it will mount the specified samba
share under /mnt, so *before issue the command* just check there is no data
there.

Greetings,

--
Camaleón
Reply With Quote
  #3 (permalink)  
Old 06-Jul-2009, 17:40
Puzzled Penguin
 
Join Date: Jul 2009
Location: Chambly, Canada
Posts: 16
p_barill hasn't been rated much yet
Default Re: Filename encoding in archives from windows

Thank you, I will look at Samba. For the moment, I have no knowledge of this. Give me a couple of weeks, and I will find out if it works! In the meantime, it seems more tractable for me to reboot windows to unzip an archive and then reboot linux and then copy the files from the windows drive... No, that's not a solution.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2