Subject: bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicode escapes

From: David De La Harpe Golden <[email-masked]>
Date: Mon, 09 Aug 2010 02:46:21 +0100

On 05/08/10 14:56, Kaloian Doganov wrote:
> 0. Start Emacs using `emacs -Q'.
>
> 1. Open some other X application (gedit, GNOME Terminal, etc.) and enter
>     the following text:
>
>         Проба
>
> 2. Select the text using the mouse and yank it using mouse-2 in a
>     scratch buffer in Emacs.
>
> 3. The result is:
>
>         \u041f\u0440\u043e\u0431\u0430
>
>     instead of the expected:
>
>         Проба
>

This is a known issue (#6635) and there is a patch, but I guess it 
hasn't made it in-tree yet. See link below for a file that you can load 
to fix this issue:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6720#17