add charSet option to static plugin