7zip/CPP/Common
Ivan Sorokin 13164b23c3 Reimplement legacy OEM/ANSI codepage detection on UNIX platforms for ZIP and LZH archives.
This implementation replaces previous version by centralizing the locale-to-codepage mapping logic within the core StringConvert module. This approach improves portability by using standard iconv encoding names, and provides a fallback mechanism to the default 7-Zip conversion behavior if the requested charset is unavailable. Additionally, this commit introduces a standalone unit test harness, TEST_LegacyMapping.cpp, to verify the cross-locale codepage mapping logic independently of the full archive processing pipeline.
2026-04-17 14:35:04 +02:00
..
AutoPtr.h 24.05 2024-05-15 23:55:04 +05:00
C_FileIO.cpp '21.07' 2022-03-18 15:35:13 +05:00
C_FileIO.h 23.01 2023-12-17 14:59:19 +05:00
CksumReg.cpp 23.01 2023-12-17 14:59:19 +05:00
CommandLineParser.cpp 24.05 2024-05-15 23:55:04 +05:00
CommandLineParser.h 23.01 2023-12-17 14:59:19 +05:00
Common.h 24.05 2024-05-15 23:55:04 +05:00
Common0.h 26.00 2026-02-12 17:38:49 +05:00
ComTry.h 23.01 2023-12-17 14:59:19 +05:00
CRC.cpp '21.07' 2022-03-18 15:35:13 +05:00
CrcReg.cpp 24.05 2024-05-15 23:55:04 +05:00
Defs.h 23.01 2023-12-17 14:59:19 +05:00
DynamicBuffer.h 24.05 2024-05-15 23:55:04 +05:00
DynLimBuf.cpp 23.01 2023-12-17 14:59:19 +05:00
DynLimBuf.h 23.01 2023-12-17 14:59:19 +05:00
IntToString.cpp 24.05 2024-05-15 23:55:04 +05:00
IntToString.h 24.05 2024-05-15 23:55:04 +05:00
Lang.cpp 23.01 2023-12-17 14:59:19 +05:00
Lang.h 23.01 2023-12-17 14:59:19 +05:00
ListFileUtils.cpp 24.05 2024-05-15 23:55:04 +05:00
ListFileUtils.h 23.01 2023-12-17 14:59:19 +05:00
LzFindPrepare.cpp '21.07' 2022-03-18 15:35:13 +05:00
Md5Reg.cpp 24.09 2024-11-30 15:27:15 +05:00
MyBuffer.h 26.00 2026-02-12 17:38:49 +05:00
MyBuffer2.h 24.05 2024-05-15 23:55:04 +05:00
MyCom.h 24.09 2024-11-30 15:27:15 +05:00
MyException.h 23.01 2023-12-17 14:59:19 +05:00
MyGuidDef.h 24.05 2024-05-15 23:55:04 +05:00
MyInitGuid.h 23.01 2023-12-17 14:59:19 +05:00
MyLinux.h 23.01 2023-12-17 14:59:19 +05:00
MyMap.cpp 24.05 2024-05-15 23:55:04 +05:00
MyMap.h 23.01 2023-12-17 14:59:19 +05:00
MyString.cpp 25.00 2025-07-05 19:27:33 +05:00
MyString.h 25.00 2025-07-05 19:27:33 +05:00
MyTypes.h 24.05 2024-05-15 23:55:04 +05:00
MyUnknown.h 23.01 2023-12-17 14:59:19 +05:00
MyVector.cpp '21.07' 2022-03-18 15:35:13 +05:00
MyVector.h 24.05 2024-05-15 23:55:04 +05:00
MyWindows.cpp 24.05 2024-05-15 23:55:04 +05:00
MyWindows.h 24.05 2024-05-15 23:55:04 +05:00
MyXml.cpp 25.00 2025-07-05 19:27:33 +05:00
MyXml.h 24.05 2024-05-15 23:55:04 +05:00
NewHandler.cpp 24.05 2024-05-15 23:55:04 +05:00
NewHandler.h 24.05 2024-05-15 23:55:04 +05:00
Random.cpp 24.05 2024-05-15 23:55:04 +05:00
Random.h 24.05 2024-05-15 23:55:04 +05:00
Sha1Prepare.cpp '21.07' 2022-03-18 15:35:13 +05:00
Sha1Reg.cpp 23.01 2023-12-17 14:59:19 +05:00
Sha3Reg.cpp 25.00 2025-07-05 19:27:33 +05:00
Sha256Prepare.cpp '21.07' 2022-03-18 15:35:13 +05:00
Sha256Reg.cpp 23.01 2023-12-17 14:59:19 +05:00
Sha512Prepare.cpp 24.09 2024-11-30 15:27:15 +05:00
Sha512Reg.cpp 24.09 2024-11-30 15:27:15 +05:00
StdAfx.h 23.01 2023-12-17 14:59:19 +05:00
StdInStream.cpp 24.05 2024-05-15 23:55:04 +05:00
StdInStream.h 23.01 2023-12-17 14:59:19 +05:00
StdOutStream.cpp 24.05 2024-05-15 23:55:04 +05:00
StdOutStream.h 24.05 2024-05-15 23:55:04 +05:00
StringConvert.cpp Reimplement legacy OEM/ANSI codepage detection on UNIX platforms for ZIP and LZH archives. 2026-04-17 14:35:04 +02:00
StringConvert.h Reimplement legacy OEM/ANSI codepage detection on UNIX platforms for ZIP and LZH archives. 2026-04-17 14:35:04 +02:00
StringToInt.cpp 24.05 2024-05-15 23:55:04 +05:00
StringToInt.h 24.05 2024-05-15 23:55:04 +05:00
TextConfig.cpp 24.05 2024-05-15 23:55:04 +05:00
TextConfig.h 23.01 2023-12-17 14:59:19 +05:00
UTFConvert.cpp 24.05 2024-05-15 23:55:04 +05:00
UTFConvert.h 23.01 2023-12-17 14:59:19 +05:00
Wildcard.cpp 25.00 2025-07-05 19:27:33 +05:00
Wildcard.h 23.01 2023-12-17 14:59:19 +05:00
Xxh64Reg.cpp 24.05 2024-05-15 23:55:04 +05:00
XzCrc64Init.cpp '21.07' 2022-03-18 15:35:13 +05:00
XzCrc64Reg.cpp 23.01 2023-12-17 14:59:19 +05:00