Could you please, use ut8 here. I know that both latin1 and utf8 will work here, but in other places MongooseIM is using utf8 encoding (for example xml parser) so it's better to be coherent in all places.