[Koha-patches] [PATCH] Bug 4828: Clean diacritics from SIP-written messages

Frédéric DEMIANS f.demians at tamil.fr
Fri Feb 18 08:33:24 CET 2011


Le 17/02/11 22:24, Colin Campbell a écrit :
> And the older ones largely support the windows "extensions" to Latin-1,
> ( the standard specifically mentions an old dos copepage that has
> probably not been seen in a long time...)
> C.

My experience is that all recent Self Check (SC) devices support UTF-8, 
are able to exchange with Koha SIP2 server and display diacritics and 
even Chinese, as soon as:

    * You disable SC error detection (the checksum calculated and sent
      by Koha seems to be wrong)
    * Force Perl STDOUT layer to UTF-8 by adding binmode(STDOUT,
      ':utf8') in SIPServer.pm

I agree that a parameterizable solution, converting to configurable code 
page would allow to support legacy SC which are still in use.

The trick is to test all combinations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20110218/dd0e8260/attachment.htm>


More information about the Koha-patches mailing list