wulf2333 created COMPRESS-543:
---------------------------------
Summary: Some test cases fail to run in window environment.
Key: COMPRESS-543
URL: https://issues.apache.org/jira/browse/COMPRESS-543
Project: Commons Compress
Issue Type: Test
Components: Archivers
Affects Versions: 1.20
Reporter: wulf2333
Attachments: image-2020-07-13-19-17-38-974.png,
image-2020-07-13-19-17-44-090.png
ERROR:
!image-2020-07-13-19-17-49-595.png!
Problem: Because Windows System uses GBK code by default, and it uses GBK
encoding to open the utf8 file( !image-2020-07-13-19-24-39-935.png! ), which
will report an error. So, these two examples will fail in Windows environment.
While Linux System uses UTF-8 code by default, so there will be no error.
File:
src\test\java\org\apache\commons\compress\archivers\zip\UTF8ZipFilesTest.java
Function: testReadWinZipArchiveForStream() testReadWinZipArchive()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)