Hi Mesar, I'm glad that your testing verifies that the UTF-8 support works. Also, I rather thought that the problem with make check was something peculiar in my setup. I've figured out how to detect some invalid UTF-8 sequences, though I don't think there is a foolproof solution. It will be simple to code, and there are a few loose ends to tie up. I would rather not lose the ability to accept Latin-1. The documentation could certainly state that it is deprecated. Thanks, John On Thu, Jul 05, 2012 at 02:25:04PM +0100, Mesar Hameed wrote: > Hi John, > > On Wed 04/07/12,21:49, John J. Boyer wrote: > > Support for UTF-8 seems to be working. I've tested several of the tables > > on the list that Christian sent on Monday. They work. I tested > > de-de-g2.ctb with lou_translate, and it appeared to produce correct > > results. > > Thanks for the quick turnaround, with the testing I've managed to do today > everything looks great. > > > When I run make check I get the error that lou_checktable > > cannot be found. Maybe I'm just running it in the wrong directory. > > Please check. > > Everything runs fine here. > > > Since the tables are input files, parseChars in > > compileTranslationTable.c should check for invalid UTF-8 character > > sequences and if one is found try Latin-1. How can invalid sequences be > > detected. > > To save you from writing fallback code, we could just document that table > files should be valid utf8 files. > There are several standalone tools and libraries that deal with encodings, so > the table writer can simply use the external tools to verify > his/her tables. > > If you are happy with this I can do the needed changes in the documentation. > > Thanks, > Mesar > For a description of the software, to download it and links to > project pages go to http://www.abilitiessoft.com -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com