Merge pull request #3657 from 0x6r1an0y/20260922-makefile-fix

fix: preserve UTF-8 in generated command docs
This commit is contained in:
Iceman authored and GitHub committed 2026-09-22 06:59:35 +07:00
commit be8a0d524e
3 files changed
+14 -7

No files matched your search

+3 -4
View File
@@ -1940,7 +1940,7 @@ static int CmdLFHitagEload(const char *Cmd) {
arg_lit0("1", "ht1", "Card type Hitag 1"),
arg_lit0("2", "ht2", "Card type Hitag 2"),
arg_lit0("s", "hts", "Card type Hitag S"),
arg_lit0("m", "htm", "Card type Hitag \xce\xbc"), // μ
arg_lit0("m", "htm", "Card type Hitag µ"),
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, false);
@@ -1990,7 +1990,7 @@ static int CmdLFHitagEload(const char *Cmd) {
} else if (use_htm) {
// a u dump is sized by the tag's ICR, so accept anything that fits
expected = 0;
tname = "Hitag \xce\xbc";
tname = "Hitag µ";
}
if (use_htm) {
@@ -2053,7 +2053,7 @@ static int CmdLFHitagEview(const char *Cmd) {
arg_lit0("1", "ht1", "Card type Hitag 1"),
arg_lit0("2", "ht2", "Card type Hitag 2 (default)"),
arg_lit0("s", "hts", "Card type Hitag S"),
arg_lit0("m", "htm", "Card type Hitag \xce\xbc"),
arg_lit0("m", "htm", "Card type Hitag µ"),
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
@@ -2933,4 +2933,3 @@ int CmdLFHitag(const char *Cmd) {
return CmdsParse(CommandTable, Cmd);
}