Fixed: possible error when attachment's filename is non-ASCII (#747, #1243, #1089).
Authored by: jplang 2008-05-17
Parent: [r1432]
Child: [r1434]