improve install, allow set charset