mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fixed #779
This commit is contained in:
parent
5cc5dd557b
commit
db5378a3f5
@ -52,6 +52,8 @@ ZipFileInfo::ZipFileInfo(const ZipLocalFileHeader& header):
|
||||
|
||||
if (getHostSystem() == ZipCommon::HS_UNIX)
|
||||
setUnixAttributes();
|
||||
|
||||
_rawInfo[GENERAL_PURPOSE_POS+1] |= 0x08; // Set "language encoding flag" to indicate that filenames and paths are in UTF-8.
|
||||
}
|
||||
|
||||
|
||||
|
@ -204,6 +204,8 @@ void ZipLocalFileHeader::init( const Poco::Path& fName,
|
||||
}
|
||||
else
|
||||
setCompressionMethod(ZipCommon::CM_STORE);
|
||||
|
||||
_rawHeader[GENERAL_PURPOSE_POS+1] |= 0x08; // Set "language encoding flag" to indicate that filenames and paths are in UTF-8.
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user