fix the charset error of c-program_init