[liblouis-liblouisxml] Re: Unicode encoding of tables

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 8 Jun 2012 08:21:51 -0500

Escape sequences such as \x00hh are required in operands. UTF-8 will not 
work, because it does conflict with characters above 128.

John

On Fri, Jun 08, 2012 at 02:01:57PM +0100, Michael Whapples wrote:
> I believe it might be that the encoding of the file should be UTF-8. 
> Therefore if it is encoded using something like latin1 and contains a 
> character above 128 it will need to be re-encoded into UTF-8.
> 
> May be I have got it wrong, using escape sequences have the advantage they 
> can be typed easily regardless of keyboard layout, but they can make it 
> harder to read (I am split on that one as to which I prefer).
> 
> Michael Whapples
> On 8 Jun 2012, at 13:58, John J. Boyer wrote:
> 
> > Hi Mesar,
> > 
> > So what you are saying is that if a table contains characters between 
> > 128 and 255 that were produced by a special keyboard these characters 
> > should be expressed in the form \x00hh This is something I've wanted for 
> > a long time.
> > 
> > Thanks,
> > John
> > On Fri, Jun 08, 2012 at 01:29:38PM +0100, Mesar Hameed wrote:
> >> Hi,
> >> 
> >> $ file en-us-g2.ctb
> >> en-us-g2.ctb: ASCII English text
> >> $
> >> 
> >> ascii is a subset of unicode, so no need to touch this file.
> >> 
> >> The issue is with those that are extended ascii, or some varient of latin
> >> 
> >> For a list of broken files and a list of changes, please run the attached 
> >> script in the tables directory.
> >> 
> >> I have already converted several tables, where I was sure of the original 
> >> encoding.
> >> 
> >> Mesar
> >> 
> >> On Fri 08/06/12,07:04, John J. Boyer wrote:
> >>> I don't understand the item on the TODO list that says all tables should 
> >>> be Unicode encoded. How would this affect en-us-g2.ctb, for example?
> >>> 
> >>> Thanks,
> >>> John
> >>> 
> >>> -- 
> >>> 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
> > 
> > 
> > 
> > -- 
> > 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
> 
> 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

Other related posts: