Closed rdoeffinger closed 5 years ago
Merging #435 into master will decrease coverage by
0.01%
. The diff coverage is0%
.
@@ Coverage Diff @@
## master #435 +/- ##
=========================================
- Coverage 7.25% 7.23% -0.02%
=========================================
Files 41 41
Lines 2662 2666 +4
=========================================
Hits 193 193
- Misses 2469 2473 +4
Impacted Files | Coverage Δ | |
---|---|---|
src/executor.cpp | 4.41% <0%> (-0.28%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 8e77509...11a04a2. Read the comment docs.
Since we (most sensibly) encode text as UTF-8 before encrypting we should assume that the password files contain UTF-8 when decrypting, instead of the current locale encoding. This is the biggest issue on Windows, since it doesn't even officially support locales with UTF-8 encoding. For compatibility, detect if the data is not valid UTF-8 and fall back to Qt's BOM based approach, which provides support for UTF-16 and falls back to current locale encoding.
Fixes issue #412