setup_coding_system (Fcheck_coding_system (Vw32_system_coding_system),
&coding);
+ coding.src_multibyte = 0;
+ coding.dst_multibyte = 1;
coding.mode |= CODING_MODE_LAST_BLOCK;
bufsz = decoding_buffer_size (&coding, LF_FACESIZE);
setup_coding_system
(Fcheck_coding_system (Vw32_system_coding_system), &coding);
+ coding.src_multibyte = 1;
+ coding.dst_multibyte = 1;
bufsize = encoding_buffer_size (&coding, strlen (name));
buf = (unsigned char *) alloca (bufsize);
coding.mode |= CODING_MODE_LAST_BLOCK;