lib/util/charset use get_dyn_CODEPAGEDIR(), which is in common