Re: File-name encodings and unzip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04Mar2007 11:03, Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote:
| Thanks for that. I am using the default, I think. At least, I can see
| nothing locale-related in my environment other than:
| LANG=en_GB.UTF-8
| Shouldn't unzip be taking notice of this then?

Depends. Unzip may simply not care either - it may just be a byte string
to it.

Also, the unzip format may not record the source encoding; if you don't
know the source encoding you can't recode for the target system.

You may need to recode yourself. Several months ago I wrote a little python
program to recode MP3 filenames from UNIX (presuming a plain ISO8859-1
character set) into UTF-8 for HFS on a Mac (yeah, iTunes:-). Here:

  http://www.cskk.ezoshosting.com/cs/css/bin/macify

You might want to adapt it to your use.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Don't put off for tomorrow what you can do today.
If you enjoy it today, you can do it again tomorrow...

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux