Possibility for user-defined charset

Please consider merging.
I extended because I needed to generate hostnames with lower cases only.

Thanks,
Janos