Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create zip files for Japanese Shift-JIS #1302

Open
DaddyF opened this issue Aug 6, 2023 · 8 comments
Open

Cannot create zip files for Japanese Shift-JIS #1302

DaddyF opened this issue Aug 6, 2023 · 8 comments
Assignees
Milestone

Comments

@DaddyF
Copy link

DaddyF commented Aug 6, 2023

Configuration

  • Keka version: Version 1.3.2 (5208)
  • macOS version: Ventura 13.5
  • MacBook Pro 14-inch, 2021
    Chip Apple M1 Pro, Memory 16 GB

Describe the bug

I have created a zip file from Japanese folders with Japanese files. It was okay as long as someone who does not use Shift-JIS characters in Windows. However, there are still many people who use Shift-JIS in their files and folders. Their uncompress tools handles Shift-JIS code as a default. I have read some of the Keka usage in Japanese on Japanese web site and it seems that Keka supports Shift-JIS. However, the version I use on Apple Silicon will not handle it as I expected and someone who receives files from me will not be able to read Japanese file names or folder names on Windows. Do you support Shift-JIS in 1.3.2 on Apple Silicon? As long as I don't use Japanese characters, then it works fine. But in many cases, I need to modify those files and send them back to them. Original file names or folder names are in Japanese.

I also tested 7-Zip 23.01 (arm64) on Windows 11 and it handles Shift-JIS code as I expected. But they don't support one on Mac. I am not sure if Keka is related to 7-zip.
If you need any further information, please let me know.

@DaddyF DaddyF added the bug label Aug 6, 2023
@aonez
Copy link
Owner

aonez commented Aug 6, 2023

Just to confirm, the issue for you is when you compress files containing Japanese characters on their names on macOS and they uncompress those files on Windows, is that right? That is reproducible on Windows 11, right?

I'm assuming you're using the ZIP format and not 7Z.

@DaddyF
Copy link
Author

DaddyF commented Aug 6, 2023 via email

@DaddyF
Copy link
Author

DaddyF commented Aug 6, 2023 via email

@DaddyF
Copy link
Author

DaddyF commented Aug 6, 2023 via email

@DaddyF
Copy link
Author

DaddyF commented Aug 7, 2023

I have checked the header information of zipped files and results are attached. The only way to solve this issue seems to be that Keka needs to support Shift-JIS encoding in some way.
What I have found is that 7.docx

@aonez aonez added this to the 1.4.0 milestone Aug 7, 2023
@aonez
Copy link
Owner

aonez commented Aug 7, 2023

Thanks a lot for all the feedback @DaddyF. I'll get back to you shortly.

@aonez aonez modified the milestones: macOS-1.4.0, Future Mar 4, 2024
@aonez aonez added enhancement and removed bug labels Mar 4, 2024
@aonez aonez changed the title [BUG] Cannot create zip files for Japanese Shift-JIS Cannot create zip files for Japanese Shift-JIS Mar 4, 2024
@aonez
Copy link
Owner

aonez commented Mar 4, 2024

Hi again @DaddyF. Took a while but finally did some tests without an actual clear way to fix this. I understand UTF-8 is the way to go so files are universally compatible and new files should use that encoding.

Anyway I'm open to adopt an option for Shift-JIS creation, just found no way to do this with the actual state of Keka using 7Z and with all source files (from macOS) encoded in UTF-8.

@DaddyF
Copy link
Author

DaddyF commented Mar 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants