Sorry about the delay, I somehow didn't see your bug report.

I'm not seeing utf8 issues with ikiwiki here. Could you send me a .mdwn
page that you're having a problem with so I can try to get a handle on
what's going on? And of course, if you could work out exactly which peice
of software changed to cause the problem, that'd be very helpful.

The lines you commented out, which work around a weird perl bug,
still cause a test suite failure here when I comment them out on debian
unstable. The perl bug is very hard to reproduce normally, so you can
get away with running with those lines commented out. But it has occured
in the wild several times, and I'd rather leave the workaround in.

OTOH, I can perhaps find a new workaround that doesn't suck as badly.
This seems to keep the test suite working, and avoids any issues that might
be caused by double-encoding.

        # Workaround for perl bug (#376329)
        $content=Encode::encode_utf8($content);
        eval {$content=&$markdown_sub($content)};
        if ($@) {
                eval {$content=&$markdown_sub($content)};
                print STDERR $@ if $@;
        }       
        $content=Encode::decode_utf8($content);

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to