-
Notifications
You must be signed in to change notification settings - Fork 2
Is UTF-8 supported? #5
Comments
Be honest I've no idea now, the code was taken from http://sourceforge.net/projects/tvision, and it's pretty ancient. I guess it doesn't support UTF-8 very well, especially when it uses ISO8859-1 symbols for borders and glyph. |
Thank you! I will try to contact SET as well.
…________________________________
De: 徐辰 <notifications@github.com>
Enviat el: dissabte, 14 de juliol de 2018 22:06:55
Per a: windoze/tvision
A/c: magiblot; Author
Tema: Re: [windoze/tvision] Is UTF-8 supported? (#5)
Be honest I've no idea now, the code was taken from http://sourceforge.net/projects/tvision, and it's pretty ancient. I guess it doesn't support UTF-8 very well, especially when it uses ISO8859-1 symbols for borders and glyph.
I will take a look into the source code and get back to you.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#5 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATwQWdlZd8zXSf-edSBlA0LRoejjvxtrks5uGk9fgaJpZM4VO2W0>.
|
Hi! |
Oh, how unfortunate! |
In case anyone may be interested, I managed to add Unicode support in my fork of Turbo Vision and released a text editor making use of it. |
Wow that's awesome, looks like a nice codebase for a TUI version of VSCode. |
Well, you can just disable the static asserts and not worry about it. We can investigate what went wrong in another moment. |
You did a very good work!!! Congratulations!!! |
¡Gracias Salvador! I would say the key points in Unicode support are:
Other comments:
|
I wrote a very simple Turbo Vision application to check the support for UTF-8. I wrote the strings
"Alt-X Ñ"
and"F10 Ç"
in the source code and saved it as UTF-8 text. TheLANG
environment variable refers to a UTF-8 encoding. Then, the compiled program withg++ 8.1.1
looks like this in an X11 window:And like this in the console:
Am I missing any command-line option or is this an issue from the source code? If the later, what part of the source code is implied in this?
Lots of thanks.
The text was updated successfully, but these errors were encountered: