]> git.koha-community.org Git - koha.git/commit
bug 2857: fix UTF-8 conversion issues in web services
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 10 Dec 2008 20:02:17 +0000 (14:02 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 11 Dec 2008 14:28:01 +0000 (08:28 -0600)
commit08454fbeeeb1b6fde28f5d65373c11ee9746c8bb
tree30b1d2a50c6af8fd9c4962a26167940deb420d21
parentce8e70c6c60d51ac732e6bf365b75c1e9a12f160
bug 2857: fix UTF-8 conversion issues in web services

svc/bib and svc/new_bib had two problems related to UTF-8 character conversion:

[1] Couple instances of "Wide character" warnings
[2] When saving a new (MARC21) bib whose Leader/09 was not 'a', did not apply
default character conversion and set the Leader/09 to 'a'.

Fix includes two parts:

[1] Setting :utf8 on STDOUT
[2] Doing default MARC-8 to UTF-8 conversion if applicable

This patch also turns on warnings in all scripts under svc per bug 2505.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
svc/authentication
svc/bib
svc/bib_profile
svc/new_bib