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

Ian Walls ian.walls at bywatersolutions.com
Fri Feb 18 12:28:03 CET 2011


Thank you everyone for your responses!  I'm glad to hear that this can be
solved other (more robust) ways that work better internationally.  One of
the many reasons I'm so proud to be part of this community.

So, I'm seeing that Koha's checksum subroutine is the real cause of the
problem.  If we parameterize the <service> section of the config to take an
"encoding" attribute, we could use a different checksum subroutine as
appropriate, as well as forcing the Perl STDOUT layer if need be.

Unfortunately, I have no idea what the corrected checksum calculation should
look like... scouring the web now...


-Ian

2011/2/18 Frédéric DEMIANS <f.demians at tamil.fr>

>  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.
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>



-- 
Ian Walls
Lead Development Specialist
ByWater Solutions
Phone # (888) 900-8944
http://bywatersolutions.com
ian.walls at bywatersolutions.com
Twitter: @sekjal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20110218/c7ceffb6/attachment.htm>


More information about the Koha-patches mailing list