| Summary: | Erroneous SIP2 behaviour with non ascii characters | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Colin Campbell <colin.campbell> |
| Component: | SIP2 | Assignee: | Ian Walls <koha.sekjal> |
| Status: | CLOSED DUPLICATE | QA Contact: | Bugs List <koha-bugs> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | dpavlin, jwagner, wizzyrea |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Attachments: | Proposed fix | ||
|
Description
Colin Campbell
2010-05-27 14:56:56 UTC
NEKLS is having this problem now, and a RFP is probably forthcoming to address it. Created attachment 3175 [details] [review] Proposed fix we are using just
$msg = encode('utf-8', $msg);
together with
local $/ = "\x0d";
to send out data correctly to 3M stack which is some Java stuff installed on Windows. This two changes allowed us to see accented characters correctly on self-checks, and it's developed using 3M SIP 2.00 Emulator Version 1.3.0.1
I would suggest to add configuration option which can have default to clean output but also support sending correct utf-8 to clients which support it.
This bug is mentioned in: Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013882.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013884.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013886.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013888.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013891.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013892.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013894.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013896.html Bug 4828: Clean diacritics from SIP-written messages http://lists.koha-community.org/pipermail/koha-patches/2011-February/013887.html |