SuperCat SRU double-encodes UTF8 characters, does not set character encoding
Bug #1431541 reported by
Dan Scott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.6 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.7 |
Fix Released
|
Medium
|
Unassigned | ||
2.8 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Evergreen master
* Ubuntu 12.04
Tested with a 2.7 production system, the HTTP header was setting the charset to ISO-8859-1 (per Apache defaults I believe) because the SuperCat SRU methods were not themselves setting an explicit header. For an example, try:
(replacing hostname / library shortname / search query as necessary).
Also, perhaps due to changes in Encode or MARC::XML behaviour on Ubuntu 12.04, it seems that the encode_utf8() call for $marc->
Changed in evergreen: | |
milestone: | 2.8.0 → 2.8.1 |
Changed in evergreen: | |
milestone: | 2.8.1 → 2.8.3 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbs/lp1431541_ supercat_ sru_encoding for a very simple fix, tested and in production on an Ubuntu 12.04 system that has a whole ton of non-ASCII characters.