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

Bug#584801: problem with German umlaut



Thomas Dickey writes:
> > That file is all ascii, so probably not what you wanted to attach.
> 
> ascii here, too.

That must be some kind of mail system bug, closer to your end than the
submitter. Viewing on http://bugs.debian.org/584801 I can see that the
original message included this base64-encoded part:

        Content-Type: text/plain;
         name="strasse.txt"
        Content-Transfer-Encoding: base64
        Content-Disposition: attachment;
         filename="strasse.txt"

        U3RyYcOfZSA4Cg==

which decodes to:

$ echo U3RyYcOfZSA4Cg== | mmencode -u | od -t x1 -c
0000000 53 74 72 61 c3 9f 65 20 38 0a
          S   t   r   a 303 237   e       8  \n

> 
> When I see the actual data, I'll be able to do some analysis.

The root of the problem is that in non-UTF-8 mode, the \x9f character
eats an arbitrarily large sequence of non-control characters that follow it. 
It seems to fit under the general category of "writing random bytes to your
terminal makes weird things happen", but this is a particularly nasty case
since it can even seem to make the terminal freeze if your shell prompt is
among the stuff that got eaten.

This was originally 583609, they should be merged...

-- 
Alan Curry



Reply to: