Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Lost in encodings

by misc (Friar)
on Feb 10, 2020 at 06:35 UTC ( #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
Node Status?
node history
Node Type: note [id://11112717]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-10-28 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (264 votes). Check out past polls.

    Notices?