Re: [opensuse] uncompessing zip files and accented characters



Istvan Gabor wrote:
Hello:

I am using openSUSE 11.2 with KDE 3.5.10.
I would like to uncompress a zip file which presumably contains several files with Hungarian accented characters in file names. When I use 'unzip' command in a terminal window I get file names like this:
K?zvet?t?v?laszt?sos

The ? marks probabaly replace accented characters.

How could I uncompress the zip file so that the original accented characters would be preserved?

They already are, I think. Your problem is that your terminal's locale
doesn't include them so it can't display them, so it substitutes
question marks. You need to ensure that your terminal is using the same
encoding that the filenames are in or else you need to rename all the
files so that the names use the same encoding as your terminal.

Probably the best solution for the long-term is to make everything utf-8.

If your zip file is a one-off that you need to deal with and then you've
finished with it, you could just set up a terminal session uing whatever
encoding was used when the files were created and work within that
environment.

Cheers, Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages