Re: [opensuse] uncompessing zip files and accented characters
- From: Philipp Thomas <pth@xxxxxxx>
- Date: Tue, 13 Jul 2010 12:14:44 +0200
* Dave Howorth (dhoworth@xxxxxxxxxxxxxxxxx) [20100713 11:40]:
Is that wrong? What has unzip transformed the filenames into if it
hasn't preserved them?
Ok, once again:
Zip will write the names to the archive in whatever encoding the
originating machine uses. However it will *not* record the encoding used.
So in this case unzip will read the names encoded in say latin-2 (a single
byte encoding) and will write them as utf8 (a multi byte encoding) which of
cause will result in the gibberish the OP posted.
Preserving the encoding is useless unless you know the original one and can
thus convert them to the encoding used on the machine used for unpacking the
archive. The names created by unzip on unpacking can not be converted
anymore!
Now a bit clearer?
Philipp
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] uncompessing zip files and accented characters
- From: Per Jessen
- Re: [opensuse] uncompessing zip files and accented characters
- References:
- [opensuse] uncompessing zip files and accented characters
- From: Istvan Gabor
- Re: [opensuse] uncompessing zip files and accented characters
- From: Dave Howorth
- Re: [opensuse] uncompessing zip files and accented characters
- From: Philipp Thomas
- Re: [opensuse] uncompessing zip files and accented characters
- From: Dave Howorth
- [opensuse] uncompessing zip files and accented characters
- Prev by Date: [opensuse] Re: uncompessing zip files and accented characters
- Next by Date: Re: [opensuse] uncompessing zip files and accented characters
- Previous by thread: Re: [opensuse] uncompessing zip files and accented characters
- Next by thread: Re: [opensuse] uncompessing zip files and accented characters
- Index(es):