- carp if the a log text record is in perl's internal encoding instead of octets
- attempt to encode the text to fix the problem after complaining
import encode_utf8
We should only delete a version in found if it's not already a fully qualified source version.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=20;bug=701350 for the failure.
add encode_utf8_safely function
Make convert_to_utf8 use Text::Iconv and fallback to Encode; move convert_to_utf8 to Debbugs::Common.pm
We now return UTF8 octets from parse instead of whatever the message encoding was
convert_to_utf8 is now in Debbugs::Common
handle message bodies and headers being in perl's internal encoding
use encode_utf8_safely instead of just encode_utf8
decode_rfc1522 now returns utf8 octets
move UTF8 routines out of Debbugs::Common and into Debbugs::UTF8 so Debbugs::Config isn't loaded early
use encode_utf8_safely in Debbugs::MIME
switch to encoding(UTF-8) from utf8
switch STDOUT to raw first, then use encoding(UTF-8)
decode_utf8 the html record before calling decode_rfc1522; use Debbugs::UTF8
use debbugs::utf8
decode_rfc1522 returns perl internal encoding instead of octets
encode_utf8_structure is in Debbugs::UTF8 now
everything should be in perl's internal encoding
switch away from using MIME::WordDecoder and do the encoding ourselves using decode_mimewords
convert_to_utf8 now returns perl's internal encoding
add decode_utf8_safely
fix return of encode_utf8_safely
add test rule to run individual tests more easily