utf fix
This commit is contained in:
parent
332bc0e83e
commit
7ec3545581
|
@ -14,6 +14,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
###
|
###
|
||||||
- fixed bug in GetVersionExW making "OverrideOsBuild=..." not working
|
- fixed bug in GetVersionExW making "OverrideOsBuild=..." not working
|
||||||
|
- fixed issue with some utf8 charakters when usded in the ini file
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [1.0.2 / 5.55.2] - 2021-12-08
|
## [1.0.2 / 5.55.2] - 2021-12-08
|
||||||
|
|
|
@ -499,7 +499,7 @@ NTSTATUS Stream_Read_Wchar(
|
||||||
wchar_t lowShort = (wchar_t)(cur_byte & 0x3F);
|
wchar_t lowShort = (wchar_t)(cur_byte & 0x3F);
|
||||||
|
|
||||||
//Create the UTF-16 code unit, then increment the iterator
|
//Create the UTF-16 code unit, then increment the iterator
|
||||||
int unicode = (highShort << 8) | lowShort;
|
int unicode = (highShort << 6) | lowShort;
|
||||||
|
|
||||||
//Check to make sure the "unicode" is in the range [0..D7FF] and [E000..FFFF].
|
//Check to make sure the "unicode" is in the range [0..D7FF] and [E000..FFFF].
|
||||||
if ((0 <= unicode && unicode <= 0xD7FF) || (0xE000 <= unicode && unicode <= 0xFFFF)) {
|
if ((0 <= unicode && unicode <= 0xD7FF) || (0xE000 <= unicode && unicode <= 0xFFFF)) {
|
||||||
|
|
|
@ -151,7 +151,7 @@ _FX NTSTATUS SbieDll_WoW64SysCall(ULONG syscall, ULONG* args)
|
||||||
extern HANDLE SbieApi_DeviceHandle;
|
extern HANDLE SbieApi_DeviceHandle;
|
||||||
|
|
||||||
ULONG argc = (syscall >> 24);
|
ULONG argc = (syscall >> 24);
|
||||||
syscall &= 0x00FFFFFF;
|
syscall &= 0xFFFF;
|
||||||
|
|
||||||
ULONG64 stack[19];
|
ULONG64 stack[19];
|
||||||
for (ULONG i = 0; i < argc; i++)
|
for (ULONG i = 0; i < argc; i++)
|
||||||
|
|
Loading…
Reference in New Issue