attachment: add a functional test to show invalid UTF-8 text file (#2371)
Stripping invalid UTF-8 is Redmine 1.2 behaviour.
Authored by: tmaruyama 2011-11-17
Parent: [r7823]
Child: [r7825]