turbo icon indicating copy to clipboard operation
turbo copied to clipboard

flag of Scotland displayed incorrectly in turbo

Open unxed opened this issue 2 years ago • 2 comments

sample.txt

expected: 🏴󠁧󠁢󠁳󠁣󠁴󠁿 seen: 🏴

GNOME Terminal itself is able to render this symbol correctly

unxed avatar Feb 23 '22 14:02 unxed

As of now, a screen cell in Turbo Vision can only hold up to 15 bytes of text. The whole Scottish flag is 28 bytes long, so it doesn't fit. :/

magiblot avatar Feb 23 '22 20:02 magiblot

I was just trying to figure out how much memory to allocate to store one cell in a similar situation. It looks like you need even more than 15 in some cases.

unxed avatar Feb 23 '22 21:02 unxed