Add readable username in Thrift output

This commit is contained in:
Dmitrii Okunev
2025-08-15 01:28:52 +01:00
parent e3872a74f9
commit aa3a9bd941
4 changed files with 565 additions and 552 deletions

View File

@@ -11,7 +11,6 @@ func ToReadable(s string) string {
plain := norm.NFKD.String(s)
var b strings.Builder
for _, r := range plain {
// Remove symbols (unicode.Symbol), keep everything else (including foreign letters)
if !unicode.IsSymbol(r) {
b.WriteRune(r)
}