For Code Golf, it would be really useful to immediately know the number of selected bytes (in UTF-8 encoding) in addition to the char count. With ASCII-only text like Hello, World!, this won’t make a difference. However, take some text with non-ASCII characters to know what I mean: 👋Héllö – 🌍Wõrld❗
In the above example string, each of the accented letters (éöõ) is 2 bytes long, the en dash and exclamation mark (–❗) each have a length of 3 bytes, and the hand and globe emojis (👋🌍) each take up 4 bytes.
On code.golf, both the total and selection length are displayed in bytes and chars:
Implementing this feature (should probably be togglable) would make this extension useful for me.
For Code Golf, it would be really useful to immediately know the number of selected bytes (in UTF-8 encoding) in addition to the char count. With ASCII-only text like
Hello, World!, this won’t make a difference. However, take some text with non-ASCII characters to know what I mean:👋Héllö – 🌍Wõrld❗In the above example string, each of the accented letters (
éöõ) is 2 bytes long, the en dash and exclamation mark (–❗) each have a length of 3 bytes, and the hand and globe emojis (👋🌍) each take up 4 bytes.On code.golf, both the total and selection length are displayed in bytes and chars:
Implementing this feature (should probably be togglable) would make this extension useful for me.