diff --git a/.vs/winrar-keygen/project-colors.json b/.vs/winrar-keygen/project-colors.json index fc05f95..b145099 100644 --- a/.vs/winrar-keygen/project-colors.json +++ b/.vs/winrar-keygen/project-colors.json @@ -5,6 +5,11 @@ "ProjectGuid": "2443aa55-9534-4451-9bcc-48ac0982a0cc", "DisplayName": "winrar-keygen", "ColorIndex": 0 + }, + "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": { + "ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3", + "DisplayName": "杂项文件", + "ColorIndex": -1 } }, "NextColorIndex": 1 diff --git a/.vs/winrar-keygen/v17/.suo b/.vs/winrar-keygen/v17/.suo index 81038f5..0eea669 100644 Binary files a/.vs/winrar-keygen/v17/.suo and b/.vs/winrar-keygen/v17/.suo differ diff --git a/.vs/winrar-keygen/v17/Browse.VC.db b/.vs/winrar-keygen/v17/Browse.VC.db new file mode 100644 index 0000000..f57781a Binary files /dev/null and b/.vs/winrar-keygen/v17/Browse.VC.db differ diff --git a/.vs/winrar-keygen/v17/Current/Browse.VC.db b/.vs/winrar-keygen/v17/Current/Browse.VC.db index f943a7f..3628278 100644 Binary files a/.vs/winrar-keygen/v17/Current/Browse.VC.db and b/.vs/winrar-keygen/v17/Current/Browse.VC.db differ diff --git a/.vs/winrar-keygen/v17/Current/ipch/AutoPCH/d7897464e69c1b44/_TMAIN.ipch b/.vs/winrar-keygen/v17/Current/ipch/AutoPCH/d7897464e69c1b44/_TMAIN.ipch new file mode 100644 index 0000000..c993090 Binary files /dev/null and b/.vs/winrar-keygen/v17/Current/ipch/AutoPCH/d7897464e69c1b44/_TMAIN.ipch differ diff --git a/README.md b/README.md index 401656e..945cacb 100644 --- a/README.md +++ b/README.md @@ -114,9 +114,9 @@ Save the generated information as `rarreg.key`. Why is my `rarreg.key` invalid? -### 5.1 Contains non-English characters +### 5.1 ANSI Encoded -If `text1` and `text2` contain **non-English characters**, although a key can be generated, the key is invalid. +Username and License type are **ANSI-encoded string, without null-terminator.** ```console winrar-keygen.exe @@ -124,9 +124,11 @@ winrar-keygen.exe ### 5.2 Terminal Encode -There may be a terminal encoding problem, you can use `chcp` to switch temporarily. +[Issues #5](https://github.com/bitcookies/winrar-keygen/issues/5) Be sure to use ANSI encoding, without null-terminator. -You can refer to the Microsoft documentation: [chcp | Microsoft Docs](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp) +You can refer to the Microsoft documentation: [Generation of "rarreg.key"](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.md#7-generation-of-rarregkey) + +Thanks [@Sonic-The-Hedgehog-LNK1123](https://github.com/Sonic-The-Hedgehog-LNK1123). ## 6. Encounter problems? diff --git a/README.zh-CN.md b/README.zh-CN.md index ac83606..7c2ca4c 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -111,7 +111,7 @@ de3cdc56b311475b484e80b48157a0c3af60ca4f7f9c75d49bc50d ### 5.1 包含非英文字符 -如果 `text1` 和 `text2` 参数包含**非英文字符**,即使 WinRAR Keygen 能够生成 `rarreg.key`,但是是无效的。 +用户名参数以及生成的许可文本,均是 **不含空格的 ANSI 编码。** ```console winrar-keygen.exe @@ -119,9 +119,11 @@ winrar-keygen.exe ### 5.2 终端编码的问题 -[Issues #5](https://github.com/bitcookies/winrar-keygen/issues/5) 有可能是终端编码的问题,你可以使用 `chcp` 命令暂时切换。 +[Issues #5](https://github.com/bitcookies/winrar-keygen/issues/5) 请务必使用 ANSI 编码(不包含空格): -具体可参考 Microsoft 文档:[chcp | Microsoft Docs](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp) +具体可参考原理文档:[授权文件"rarreg.key"的生成](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.zh-CN.md#7-%E6%8E%88%E6%9D%83%E6%96%87%E4%BB%B6rarregkey%E7%9A%84%E7%94%9F%E6%88%90) + +感谢 [@Sonic-The-Hedgehog-LNK1123](https://github.com/Sonic-The-Hedgehog-LNK1123). ## 6. 遇到问题