Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Lost in encodings

by misc (Friar)
on Feb 10, 2020 at 06:35 UTC ( [id://11112717]=note: print w/replies, xml ) Need Help??


in reply to Lost in encodings

I'm not sure, what your problems are.

However, probably a project of me could be some help.
I modified the st (suckless terminal) to work with (only) the ASCII extended code.
It's somehow a joke, but suddenly German Umlauts work like a charm, using vi, shell, andsoon. (Using CP1252)

https://github.com/michael105/st-asc

(snip)
Stripped unicode support in favour of the 256 chars (extended) ASCII table
    utf8 is an optional compiletime switch now
    (Most programs suddenly handle German Umlauts, etc.pp out of the box, using the ASCII table only.
    E.g. bash, vi, .. What is an interesting result. st has a quite good unicode handling,
    but until yet I always needed to dive into the configurations for 
    entering chars like ä,ö,ß in unicode mode)

    Besides, instead of having a history buffer, which needs 15 Bytes per Glyph 
    (a Glyph is a char on the screen with text attributes and colors)
    - now each Glyph is 4 Bytes. What can be nicely optimized.
    I like having a responsive and resource saving terminal, 
    and I'm always keeping at least 10 terminals open at my development system,
    so that sums up.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112717]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found