[liblouis-liblouisxml] Re: Question about parameter encodings in liblouis - needed for python3 bindings

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: Michael Whapples <mwhapples@xxxxxxx>
  • Date: Mon, 14 May 2012 09:35:09 +0200

Hi Michael

Michael Whapples <mwhapples@xxxxxxx> writes:

> I have a question regarding encodings of certain data when
> communicating with liblouis. For character based data (eg. the
> returned data from lou_version, the tables string parameter for the
> translate functions, etc, what should the encoding be? Is it just
> plain ASCII or could it be something like latin1?

For lou_version it's probably save to assume that it will always be
plain ASCII. The tables string parameter could be anything that you
could put into a file system, i.e. possibly even utf-8.

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Tag der offenen Tuer
Die SBS laedt Sie herzlich ein: 30. Juni 2012 von 9 bis 16 Uhr.
Mehr Informationen erhalten Sie unter www.sbs.ch/offenetuer
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: