use gperf for the charsets as well.