By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: New Patches Aim To Improve Unicode Support For The Linux VT Console
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > New Patches Aim To Improve Unicode Support For The Linux VT Console
Computing

New Patches Aim To Improve Unicode Support For The Linux VT Console

News Room
Last updated: 2025/04/10 at 8:28 AM
News Room Published 10 April 2025
Share
SHARE

While there are efforts underway to effectively kill the Linux virtual terminal “VT” console by punting the functionality off to user-space, it’s not dead yet and a new patch series out on Wednesday aims to enhance the modern Unicode handling by the Linux VT.

Open-source developer Nicolas Pitre posted a patch series yesterday for improving the Unicode support within the Linux VT. Pitre explained:

“The Linux VT console has many problems with regards to proper Unicode handling:

– All new double-width Unicode code points which have been introduced since Unicode 5.0 are not recognized as such (we’re at Unicode 16.0 now).

– Zero-width code points are not recognized at all. If you try to edit files containing a lot of emojis, you will see the rendering issues. When there are a lot of zero-width characters (like “variation selectors”), long lines get wrapped, but any Unicode-aware editor thinks that the content was rendered properly and its rendering logic starts to work in very bad ways. Combine this with tmux or screen, and there is a huge mess going on in the terminal.

– Also, text which uses combining diacritics has the same effect as text with zero-width characters as programs expect the characters to take fewer columns than what they actually do.

Some may argue that the Linux VT console is unmaintained and/or not used much any longer and that one should consider a user space terminal alternative instead. But every such alternative that is not less maintained than the Linux VT console does require a full heavy graphical environment and that is the exact antithesis of what the Linux console is meant to be.

Furthermore, there is a significant Linux console user base represented by blind users (which I’m a member of) for whom the alternatives are way more cumbersome to use reducing our productivity. So it has to stay and be maintained to the best of our abilities.

That being said…

This patch series is about fixing all the above issues. This is accomplished with some Python scripts leveraging Python’s unicodedata module to generate C code with lookup tables that is suitable for the kernel. In summary:

– The double-width code point table is updated to the latest Unicode version and the table itself is optimized to reduce its size.

– A zero-width code point table is created and the console code is modified to properly use it.

– A table with base character + combining mark pairs is created to convert them into their precomposed equivalents when they’re encountered. By default the generated table contains most commonly used Latin, Greek,and Cyrillic recomposition pairs only, but one can execute the provided script with the –full argument to create a table that covers all possibilities. Combining marks that are not listed in the table are simply treated like zero-width code points and properly ignored.

– All those tables plus related lookup code require about 3500 additional bytes of text which is not very significant these days. Yet, one can still set CONFIG_CONSOLE_TRANSLATIONS=n to configure this all out if need be.”

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Synthesia trains new AI model on Shutterstock’s content library – UKTN
Next Article South of Midnight, Blue Prince Are Now on Xbox Game Pass. GTA 5 Due Soon
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Tablet PC shipments decline by 10% y-o-y in 2023, Lenovo and Huawei secure top spots · TechNode
Computing
Lyft stock jumps as adjusted earnings top estimates and ride volumes surge – News
News
Hey Wordle Players, the New Pope Is One of Us
News
There’s Finally a Viable Alternative To VPN Subscriptions And It’s on Sale
News

You Might also Like

Computing

Tablet PC shipments decline by 10% y-o-y in 2023, Lenovo and Huawei secure top spots · TechNode

1 Min Read
Computing

NIO Capital raises new RMB 3 bln fund despite cooling VC climate · TechNode

3 Min Read
Computing

Taobao offers $140 million red packets to shoppers, boosting user engagement and sales · TechNode

1 Min Read
Computing

Hyprland 0.49 Wayland Compositor Working On Permission Management & New Protocols

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?