Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag of Scotland displayed incorrectly in turbo #26

Open
unxed opened this issue Feb 23, 2022 · 2 comments
Open

flag of Scotland displayed incorrectly in turbo #26

unxed opened this issue Feb 23, 2022 · 2 comments

Comments

@unxed
Copy link
Contributor

unxed commented Feb 23, 2022

sample.txt

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

GNOME Terminal itself is able to render this symbol correctly

@magiblot
Copy link
Owner

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. :/

@unxed
Copy link
Contributor Author

unxed commented Feb 23, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants