r4267: fixed the charset code to use the builtin_functions.