Unicode issue
Recently extra Unicode characters get parsed from pacman updates, I mean `\u001b` and `[` followed by numbers and letters
```
{"text":"11","alt":"pending-updates","tooltip":"\u001b[0;1mlibwireplumber \u001b[1;32m0.5.0-2.1\u001b[0m -> \u001b[1;32m0.5.1-1.1\u001b[0m\n\u001b[0;1mqt6-translations \u001b[1;32m6.6.2-1\u001b[0m -> \u001b[1;32m6.6.3-1\u001b[0m\n\u001b[0;1mqt6-webengine \u001b[1;32m6.6.2-1\u001b[0m -> \u001b[1;32m6.6.3-1\u001b[0m\n\u001b[0;1mtelegram-desktop \u001b[1;32m4.15.6-1\u001b[0m -> \u001b[1;32m4.15.6-2\u001b[0m\n\u001b[0;1mwireplumber \u001b[1;32m0.5.0-2.1\u001b[0m -> \u001b[1;32m0.5.1-1.1\u001b[0m
```
Which manifest as the image below.

compared to updates from the AUR, which doesn't have the escape as described above, and looks like this not affected
```
\nprayer-times 0.2.0-1 -> 0.3.0-1\npython-spotdl 4.2.5-1 -> 4.2.5-2\nhyprshade-git 3.2.1.r94.g8110304-1\nlutris-git 0.5.16.r469.g42b74a51c-1\nryujinx-git r3265.c94a73ec60-1","class":"pending-updates"}
```

This change appeared very recent, I wonder if this issue only on my side or is it general, and needs a solution.
Thanks in advance.
关闭于 2024-04-21 6 条评论