Fixes a bug with non-UTF8 locales introduced by 2b816075.
Attach a file by drag & drop or click to upload