|
From: | Oleksandr Gavenko |
Subject: | UTF8_STRING vs. COMPOUND_TEXT |
Date: | Tue, 11 Jan 2011 15:29:18 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
When I use Debian Etch/Lenny with fvwm I use: (when (equal window-system 'x) (progn (prefer-coding-system 'utf-8-unix) (setq selection-coding-system 'compound-text-with-extensions) (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) (modify-coding-system-alist 'process ".*" 'utf-8-unix) )) to allow properly put text from clipboard to Emacs. When I give my .emacs to my friend with Ubuntu 10.10 and GNOME he report trouble with paste to Emacs. To fix I just remove 'UTF8_STRING': (setq x-select-request-type '(COMPOUND_TEXT TEXT STRING)) WTF: COMPOUND_TEXT. It make me mad many times. How I can know which encoding used by X Window? On which this depend?
[Prev in Thread] | Current Thread | [Next in Thread] |