heavy simplification, and fix(/remove) piles of error cases. Server gets to choose the charset anyway.
Attach a file by drag & drop or click to upload