[BRLTTY] What is the best way to deal with Unicode characters?

Dave Mielke Dave at mielke.cc
Sat Sep 28 15:28:38 EDT 2019


[quoted lines by Shérab on 2019/09/28 at 18:32 +0200]

>For me the issue would be more about realising that, for instance,
>\alpha is actually just one character. For instance I can imagine myself
>very well wanting to delete that all word and pressing backspace several
>times automatically when one press is enough to get rid of it.

If it's a single character on the screen then one backspace will delete it even
if the contracted braille representation occupies multiple cells.

>The other issue I can see is the loss of vertical alignment. For
>instance, imagine one has:
>
>\alhpa = 1
>\beta = 2
>
>but with the unicode representations. Then visually the equal signs are
>aligned, which they won't be with our textual representaitons.

This, I believe, is exactly why Aura would like to be able to turn off
contracted braille and still have all eight dots.

The way I do it for other alphabets (French, German, Greek, Hebrew) is to add
dot 8 to the computer braille representations for the special symbols. For
example, I represent a Greek alpha as dots 18, and a French e with an acute
accent as dots 1234568. And, if you're wondering, yes I add dot 7 for uppercase
as well.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list