]> 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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:14:53 +0000 (21:14 +0200)
commitd87f65f338df8ecadab045f267538e6b813ca9db
tree85af6b50c8176ef20e7dee56c782218b77b8925c
parent930316296b3f490f5658c3f2ef52b5e67d9b2466
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