mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-08 08:50:04 +08:00
Add readable username in Thrift output
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user