Same under tranditional Chinese language.
This bug caused in [GLib.markup_escape_text](https://bazaar.launchpad.net/~menulibre-dev/menulibre/import/view/head:/menulibre/util.py#L99)
If called without second argument, the length would fallback to `strlen()` in C. which counts the byte number. However `len()` in python would count character number, resulting in name being cut-off.
Reference: - [gi](https://github.com/GNOME/pygobject/blob/master/gi/overrides/GLib.py#L414) - [glib](https://github.com/GNOME/glib/blob/master/glib/gmarkup.c#L2248)
Same under tranditional Chinese language.
This bug caused in [GLib.markup_ escape_ text](https:/ /bazaar. launchpad. net/~menulibre- dev/menulibre/ import/ view/head: /menulibre/ util.py# L99)
If called without second argument, the length would fallback to `strlen()` in C. which counts the byte number. However `len()` in python would count character number, resulting in name being cut-off.
Reference: /github. com/GNOME/ pygobject/ blob/master/ gi/overrides/ GLib.py# L414) /github. com/GNOME/ glib/blob/ master/ glib/gmarkup. c#L2248)
- [gi](https:/
- [glib](https:/