agwells / dotdash-keyboard-android

The world's most popular open source Morse code keyboard for Android! (probably)
GNU General Public License v3.0
32 stars 5 forks source link

Unicode support #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Kind of whimsical, but I was talking with a friend about Unicode over Morse 
code, and it would actually be fairly easy to implement. As described on 
http://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input , you just 
need a starting sequence, then the hex digits, then an ending sequence. So, I'd 
need some code group that's not currently mapped to anything in DotDash (I'm 
thinking of using the MM prosign, ----) for the starting sequence. Then, 
anything except 0-9A-F could be the closing sequence, but it may as well be 
another MM.

So, the Unicode snowman ☃ becomes MM 2603 MM, 
----/..---/-..../-----/...--/----

For bonus points, also support RFC-1345 Unicode mnemonics, perhaps with a 
different starting sequence.

The biggest challenge to this, is the user interface. When I do this via the 
equivalent method in Unicode, Ctrl-Shift-U, it shows me me "u" followed by the 
numbers I've typed, specially underlined, until I complete the sequence by 
pressing space or enter. Then it replaces them with the unicode glyph. I'll 
have to see whether something like that is possible in Android. Alternately, I 
could just slap more text on the space bar.

Original issue reported on code.google.com by aaronwells on 14 Sep 2012 at 3:21

GoogleCodeExporter commented 9 years ago
Of course, for real usable Unicode support you'd want to add some kind of 
lookup/browsing functionality.

Original comment by aaronwells on 14 Sep 2012 at 3:22