Allow user to specify charset encoding 

Although the use case is rare, since default messages are in English mostly, but allowing user to specify the encoding of generated sources is really helpful on my current project.

Maybe we can let user choose which locale tol be used to generate those sources in the future?