mothra: fix uencode for utf8
This commit is contained in:
parent
064b082ae0
commit
e393b27806
|
@ -714,7 +714,7 @@ int Ufmt(Fmt *f){
|
||||||
else if(*s==' ')
|
else if(*s==' ')
|
||||||
fmtprint(f, "+");
|
fmtprint(f, "+");
|
||||||
else
|
else
|
||||||
fmtprint(f, "%%%.2X", (unsigned int)*s);
|
fmtprint(f, "%%%.2X", *s & 0xFF);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue