Skip to content

Commit 04f1990

Browse files
committed
📘 Updated Description
1 parent c4fe0a1 commit 04f1990

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Example:
266266

267267
Now you can see the newly generated file.
268268

269-
```shell
269+
```console
270270
RAR registration data
271271
Github
272272
Single PC usage license
@@ -286,7 +286,7 @@ Save the generated information in **ANSI encoding** as `rarreg.key`.
286286

287287
Execute the following code in the terminal and configure two paramet
288288

289-
When using ANSI encoding, you can only use characters from the country or region where your operating system is located. ANSI encoding is supported from Powershell 7.4 onwards, and you will also need to [upgrade your Powershell](https://learn.microsoft.com/en-us/powershell/ scripting/install/installing-powershell-on-windows?view=powershell-7.4).
289+
When using ANSI encoding, you can only use characters from the country or region where your operating system is located. ANSI encoding is supported from Powershell 7.4 onwards, and you will also need to [upgrade your Powershell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4).
290290

291291
Generate multi-language licenses in ANSI encoding.
292292

@@ -330,7 +330,7 @@ winrar-keygen.exe "utf8:한국어" "license" | Out-File -Encoding utf8 rarreg.ke
330330

331331
Why is my `rarreg.key` invalid?
332332

333-
### 9.1 Incorrect encoding
333+
### 9.1 Character encoding
334334

335335
`TEXT1` and `TEXT2` are required to fulfill [corresponding coding requirements](#4 - coding description).
336336

@@ -340,7 +340,7 @@ winrar-keygen.exe <TEXT1> <TEXT2>
340340

341341
You can refer to: [Generation of "rarreg.key"](https://github.com/bitcookies/winrar-keygen/blob/master/README.HOW_DOES_IT_WORK.md#7-generation-of-rarregkey)
342342

343-
### 9.2 Key encoding
343+
### 9.2 Text encoding
344344

345345
If you use the following command:
346346

@@ -353,7 +353,11 @@ In the newer Windows 10, PowerShell will export in **UTF16-LE** format by defaul
353353
Please use the following command:
354354

355355
```shell
356-
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ASCII rarreg.key
356+
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ascii rarreg.key
357+
358+
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ansi rarreg.key
359+
360+
winrar-keygen.exe "utf8:Github" "Github.com" | Out-File -Encoding utf8 rarreg.key
357361
```
358362

359363
## 10. Contributing

README.zh-CN.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ C:\Users\yourname\AppData\Roaming\WinRAR\rarreg.key
129129
<details>
130130
<summary>点击展开</summary>
131131

132-
使用 [Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) 可以帮助你隐藏 license 信息。
132+
使用 [secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) 可以帮助你隐藏 license 信息。
133133

134134
### 7.1 Fork
135135

@@ -261,7 +261,7 @@ Example:
261261

262262
现在你可以看到新生成的文件:
263263

264-
```shell
264+
```console
265265
RAR registration data
266266
Github
267267
Single PC usage license
@@ -323,7 +323,7 @@ winrar-keygen.exe "utf8:한국어" "license" | Out-File -Encoding utf8 rarreg.ke
323323

324324
为什么我生成的 `rarreg.key` 是无效的?
325325

326-
### 9.1 编码不正确
326+
### 9.1 字符编码不正确
327327

328328
参数 `TEXT1``TEXT2` 需要满足[对应的编码要求](#4-编码说明)
329329

@@ -333,7 +333,7 @@ winrar-keygen.exe <TEXT1> <TEXT2>
333333

334334
具体可参考原理文档:[授权文件"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)
335335

336-
### 9.2 文件储存编码
336+
### 9.2 文本储存编码不正确
337337

338338
如果你使用了如下命令:
339339

@@ -346,7 +346,11 @@ winrar-keygen.exe "Github" "Single PC usage license" > rarreg.key
346346
请指定输出编码格式,例如:
347347

348348
```shell
349-
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ASCII rarreg.key
349+
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ascii rarreg.key
350+
351+
winrar-keygen.exe "Github" "Github.com" | Out-File -Encoding ansi rarreg.key
352+
353+
winrar-keygen.exe "utf8:Github" "Github.com" | Out-File -Encoding utf8 rarreg.key
350354
```
351355

352356
### 9.3 关于简体中文版

0 commit comments

Comments
 (0)