#246016 Define allowed charsets properly