Activity log for bug #1422290

Date Who What changed Old value New value Message
2015-02-16 08:54:28 Aron Xu bug added bug
2015-02-16 08:55:05 Aron Xu branch linked lp:~nobuto/ubuntu/vivid/unzip/fallback-encoding
2015-02-16 08:56:37 Aron Xu unzip (Ubuntu): importance Undecided Medium
2015-02-16 08:56:37 Aron Xu unzip (Ubuntu): status New Triaged
2015-02-16 08:56:55 Aron Xu bug added subscriber Nobuto Murata
2015-02-16 08:57:05 Aron Xu bug added subscriber Ubuntu Sponsors Team
2015-02-16 09:07:19 Aron Xu bug added subscriber Ubuntu CJK Testers
2015-02-16 09:09:50 Nobuto Murata description This branch adds default charsets handling for Windows archives in CJKV+th locale, inspired by Ubuntu Kylin way. As a result of bug #580961, two options have been added as Ubuntu patch. > -O CHARSET specify a character encoding for DOS, Windows and OS/2 archives > -I CHARSET specify a character encoding for UNIX and other archives Then Ubuntu Kylin added default encoding as environment variables for their distribution. http://bazaar.launchpad.net/~ubuntukylin-members/ubuntukylin-default-settings/trunk/revision/171 Now as Ubuntu, we can go further by a better way: - per user settings by their locales instead of global settings - don't interfere in other locales by locale guard I only add "-O", so no behavior change for zip files created on Ubuntu or other Linux/UNIX systems. This branch just handles zip file created on localized Windows system seamlessly. charsets list is taken from: https://msdn.microsoft.com/en-us/goglobal/bb964654 and msdos/msdos.c in unzip package: 1682 case 932: /* Japanese */ 1683 case 949: /* Korean */ 1684 case 936: /* Chinese, simple */ 1685 case 950: /* Chinese, traditional */ 1686 case 874: /* Thai */ 1687 case 1258: /* Vietnamese */ (Copied from @nobuto's branch description.) With the current unzip package in Ubuntu, we need to specify charset explicitly to extract zip files sent from localized Windows systems. For example zip files sent from Japanese localized Windows, $ zipinfo -O CP932 sent-from-localized-windows.zip $ unzip -O CP932 sent-from-localized-windows.zip This method won't work for GUI application like file-roller, users do not have way to specify charset from GUI. Attached branch adds default charsets handling for Windows archives in CJKV+th locale, inspired by Ubuntu Kylin way. As a result of bug #580961, two options have been added as Ubuntu patch. > -O CHARSET specify a character encoding for DOS, Windows and OS/2 archives > -I CHARSET specify a character encoding for UNIX and other archives Then Ubuntu Kylin added default encoding as environment variables for their distribution. http://bazaar.launchpad.net/~ubuntukylin-members/ubuntukylin-default-settings/trunk/revision/171 Now as Ubuntu, we can go further by a better way:  - per user settings by their locales instead of global settings  - don't interfere in other locales by locale guard I only add "-O", so no behavior change for zip files created on Ubuntu or other Linux/UNIX systems. This branch just handles zip file created on localized Windows system seamlessly. charsets list is taken from: https://msdn.microsoft.com/en-us/goglobal/bb964654 and msdos/msdos.c in unzip package:    1682 case 932: /* Japanese */    1683 case 949: /* Korean */    1684 case 936: /* Chinese, simple */    1685 case 950: /* Chinese, traditional */    1686 case 874: /* Thai */    1687 case 1258: /* Vietnamese */ (Copied from @nobuto's branch description.)
2015-02-16 09:11:16 Aron Xu bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483290
2015-02-16 09:11:16 Aron Xu bug task added unzip (Debian)
2015-02-16 09:42:50 Bug Watch Updater unzip (Debian): status Unknown Confirmed
2015-08-23 13:59:00 Launchpad Janitor branch linked lp:~nobuto/ubuntu/wily/unzip/fallback-encoding
2015-09-04 21:58:16 Steve Langasek removed subscriber Ubuntu Sponsors Team
2015-11-12 02:33:09 Kenichi Ito bug added subscriber Kenichi Ito
2021-08-21 05:46:15 Bug Watch Updater unzip (Debian): status Confirmed Fix Released