help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python-shell-send-region uses wrong encoding?


From: Ernest Adrogué
Subject: Re: python-shell-send-region uses wrong encoding?
Date: Tue, 29 Oct 2013 17:54:44 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

29-10-2013, 09:00 (-0700); Drew Adams escriu:
> > That was me who asked the question on stackoverflow :-)
> 
> Yes, that's clear.
> 
> > The solutions they gave me didn't really solve the issue.
> 
> I see.  Then why did you accept one of them (instead of just
> up-voting it, if it provided only partial help)?

I accepted it temporarily until I or someone else comes up with a better
solution.

> And just what was wrong with the solution (from user `wvxvw')
> that you accepted?
> 
> Here is `wvxvw's answer, in case it helps others understand
> what else might need to be added in order to help you:
> 
>  "you need the encoding system in your buffer which contains
>   the source code to be utf-8 to send two bytes for ö.  However,
>   if it is a single-byte encoding, and given that you select the
>   locale that maps the byte F6 to ö, you will get that byte.
> 
>   PS. Make sure you have -*- coding: utf-8 -*- comment."

What is wrong with this answer is that the encoding in the buffer was
already UTF-8. I double checked every variable and all of them are set to
utf-8-unix.

Regards.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]