Bug 9865: make SIP msg encoding configurable via SIPconfig.xml
authorAdrien Saurat <adrien.saurat@biblibre.com>
Fri, 8 Nov 2013 10:49:56 +0000 (11:49 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 30 Apr 2014 16:33:52 +0000 (16:33 +0000)
commit4a72f6b2375895c690dcaaaff26b07de53cfd518
treefefdff2d009741c184391019d9afc864461c343f
parent18ae04a4ac2423372cff81a8e2e3903b13404fc3
Bug 9865: make SIP msg encoding configurable via SIPconfig.xml

The accounts->login tag in SIPconfig.xml can now accept a new
parameter, "encoding". It will be mostly used to encode to utf8.

For this, simply add the parameter: encoding="utf8"

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Works as advertised, does nothing if encoding is not set.
Blows up all the machines that can't handled utf8 if it is set :) But
that's not Koha's fault. :)

Patch rebased by Christophe Croullebois  <christophe.croullebois@biblibre.com>

Signed-off-by: Petter Goksoyr Asen <boutrosboutrosboutros@gmail.com>
But now I did it the right way! And I can confirm that this patch solves
all issues with mangled characters in SIP messages. Confirmed that it
looks good with Norwegian characters in patron name and in book titles.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml