* lisp/term/w32-win.el (w32--get-selection): Allow UTF8_STRING and
TEXT data types as well, since w32select.c handles that correctly.
(cherry picked from commit
e53b90a5ce21feeb0290fbe035e9a2d6aae34bc3)
(defun w32--get-selection (&optional type data-type)
(cond ((and (eq type 'CLIPBOARD)
- (eq data-type 'STRING))
+ (memq data-type '(STRING UTF8_STRING TEXT)))
(with-demoted-errors "w32-get-clipboard-data:%S"
(w32-get-clipboard-data)))
((eq data-type 'TARGETS)