Comments (3)
Hi!
WC_NO_BEST_FIT_CHARS is not compatible with CP_UTF8
You're right; I must have missed that part in the documentation!
Strangely, this problem has never happened to me in any of my (numerous) tests, and it still does not happen now...
Anyway, I'm working on a fix right now.
Thank you for reporting the issue! đ
from bit7z.
Fixed in v4.0.3.
I could not test Windows 10 build 1607 specifically, but I managed to reproduce the problem, even though only on Windows 7.
In my tests, more recent Windows 10 versions, as well as Windows 11, have no problems when passing both CP_UTF8
and WC_NO_BEST_FIT_CHARS
to WideCharToMultiByte
. That's probably why the issue went unnoticed before your report!
Maybe Microsoft changed the behavior of WideCharToMultiByte
at some point, and they forgot to update the documentation accordingly, or it is simply a bug in the more recent versions of Windows.
Anyway, it's better to stick to the documentation, and I fixed the code accordingly.
I apologize for the delay in releasing the fix; testing took some time.
Thank you again!
from bit7z.
Thank you for the wonderful library and quick fix!
from bit7z.
Related Issues (20)
- [Bug]: Incorrect display and decompression of compressed file name HOT 4
- [Feature Request]: RenameOutput HOT 2
- [Feature Request]: custom suffix format HOT 1
- [Bug]: Issues regarding the Fat32 and Exfat file systems HOT 8
- [Bug]: Errors related to file compression HOT 4
- [Feature Request]: Can you provide a method for setting the file time HOT 1
- [build-error]: Failed to open the archive file: No such process HOT 2
- [Bug]: UpdateMode::Update not working as expected, throwing exception HOT 3
- [Feature Request]: Creation or extraction archive file in one line HOT 1
- [Feature Request]: Support for compressed packages in four formats: ace, img, uue, and war HOT 2
- [Feature Request]: Extracting files whose names contain forbidden characters HOT 1
- Do I need to build 7zip myself? HOT 6
- [Bug]:
- [Bug]: Multiple Definition Linker Error for IID_IUnknown HOT 10
- [Bug]: BIT7Z_DISABLE_USE_STD_FILESYSTEM not working HOT 4
- [Bug]: Compile error when bit7z.lib is introduced into the project. HOT 11
- [Feature Request]: Is "tstring_to_path" forgotten here? HOT 1
- [Bug]: HOT 3
- [Feature Request]: Compresses files open for writing by another applications HOT 1
- [Bug]: CreateObject ćœæ°è°çšćŒćžž
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â€ïž Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bit7z.