Fix clean behaviour, add -input-charset