[liblouis-liblouisxml] Re: Issue 15 in liblouis: Python wchar_t and UTF-16 mismatch

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 11 May 2011 22:39:11 +0000


Comment #2 on issue 15 by lawfo...@xxxxxxxxx: Python wchar_t and UTF-16 mismatch
http://code.google.com/p/liblouis/issues/detail?id=15

I realise liblouis allows the widechar size to be configured separately, but why would you want to compile for 16 bit widechars on a system which has a 32 bit wchar_t?

There may be no reason to do so, but the documentation makes it seem like a matter of user discretion rather than a system requirement. Furthermore the C examples work either way because they never make reference to wchar_t, only to widechar. I expect not every Python developer would know the size of wchar_t on his/her system since Python is supposed to hide such issues.


For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: