[Koha-bugs] [Bug 6479] Encoding problem in "recievedlist" when the numbering formula contains utf-8 characters
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 12 04:01:17 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6479
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at bigballofwax.co.nz
Version|rel_3_2 |rel_3_4
--- Comment #6 from Chris Cormack <chris at bigballofwax.co.nz> 2011-08-12 02:01:17 UTC ---
The comment here is misleading, we are attempting to decode from UTF-X to
utf8::decode($string)
Attempts to convert in-place the octet sequence in UTF-X to the
corresponding character
sequence. The UTF-8 flag is turned on only if the source string
contains multiple-byte
UTF-X characters. If $string is invalid as UTF-X, returns false;
otherwise returns true.
Note that this function does not handle arbitrary encodings.
Therefore Encode is
recommended for the general purposes; see also Encode.
Frédérick are we sure we want to use decode here, not encode?
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list