Handle error with unknown charset http://virtualmin.com/node/32985