[Koha-bugs] [Bug 14759] Replacement for Text::Unaccent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 8 14:16:28 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14759

--- Comment #14 from Galen Charlton <gmcharlt at gmail.com> ---
(In reply to David Cook from comment #13)
> As I pointed out in my overly long comments, it doesn't appear that
> Text::Unaccent is actually mangling non-Latin characters. 
> 
> Rather, in your example, it looks like Perl doesn't correctly handle the
> concatenated string composed of one string with a UTF8 flag set and one
> string without a UTF8 flag set. 

Other way around: Text::Unaccent is not, as it would be much preferable,
emitting Perl Unicode strings; rather, it is emitting octet-sequences.  A good
pattern is aim for is using *only* Unicode strings within core code, and
relegating use of Encode and friends to input and output; Text::Unaccent would
get in the way of that.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list