1646 |
coding.dst_multibyte = 1; |
coding.dst_multibyte = 1; |
1647 |
Vnext_selection_coding_system = Qnil; |
Vnext_selection_coding_system = Qnil; |
1648 |
coding.mode |= CODING_MODE_LAST_BLOCK; |
coding.mode |= CODING_MODE_LAST_BLOCK; |
1649 |
|
/* We explicitely disable composition handling because |
1650 |
|
selection data should not contain any composition |
1651 |
|
sequence. */ |
1652 |
|
coding.composing = COMPOSITION_DISABLED; |
1653 |
bufsize = decoding_buffer_size (&coding, size); |
bufsize = decoding_buffer_size (&coding, size); |
1654 |
buf = (unsigned char *) xmalloc (bufsize); |
buf = (unsigned char *) xmalloc (bufsize); |
1655 |
decode_coding (&coding, data, buf, size, bufsize); |
decode_coding (&coding, data, buf, size, bufsize); |