[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778822: patch for handling non ASCII and non UTF8 headers in headache



Le 2015-02-20 11:39, Virgile Prevosto a écrit :
Package: headache
Version: 1.03-24

The utf8-length patch appeared in version 1.03-22 systematically uses
UTF8.length to compute string lengths, which will produce wrong
results if the header uses another encoding, such as iso-latin-1. The
attached patch proposes to fall back to plain String.length if the
given string is not a well formed utf-8 string.


Who uses iso-latin-1 anyway? :-P

I'll try to look if it is possible to include this for Jessie (I have
some doubts). Otherwise, it will wait for Jessie's release. (Which means
if you get lucky, you'll have it in Ubuntu within 2 years! :D).

This issue has already been reported on Ubuntu's bts
(https://bugs.launchpad.net/ubuntu/+source/headache/+bug/1083216) as
I'm using Xubuntu 14.10, but it seems that noone there is interested
in fixing it (issue was opened on 2012-11-26).

Thanks for noticing it! :-D I'd correct your sentence though: There is
no one there doing OCaml stuff (and speaking on Ubuntu, globally). It
is not supported (except the compiler itself). So, of course, no one
will ever reply.

Regards,

--
Mehdi


Reply to: