This is a heads up of where we are headed, quite soon I hope. My jupiter adapter will pronounce unicodes in utf8 in the tty buffer according to pronunciations that you can set in the config file. Here is an example, the start of Greek.
u945 alpha u946 beta u947 gamma So when this code appears as 2 bytes in utf8 it is read alpha, no matter how it got there. How did I use to do it? The html browser would turn the html code α into the word alpha when rendering html. See format.c line 1330 That works fine as long as I am browsing files from the web, or html files that I wrote myself, but if alpha beta gamma are in a document or from pdf or some other source well I am just out of luck. You can see at a glance that such things are better handled in the adapter. It's a more general and flexible approach. Once the latest version of Jupiter is pushed, I may request of Chris that most or all of those hard-coded translations in format.c go away, and instead you just crank out the unicode that is implied by the html tag. It's up to the adapter then to read it properly. It's mostly deleting code that I'm happy to get rid of, so should be no trouble. The real test will be reading my math pages, which are full of greek letters etc. Thanks. Karl Dahlke _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
