From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: encoding problem Date: Sat, 02 Jun 2012 10:49:56 +0200 Message-ID: <87bol2qerv.fsf@free.fr> References: <87mx4q0z95.fsf@free.fr> <87aa0pk4xy.fsf@norang.ca> <87aa0nphu9.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sak2K-00056I-5x for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 04:50:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sak2I-00074R-CL for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 04:50:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:49331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sak2I-00074N-5A for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 04:50:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sak2E-0000Cs-3z for emacs-orgmode@gnu.org; Sat, 02 Jun 2012 10:50:10 +0200 Received: from ter75-5-78-233-222-172.fbx.proxad.net ([78.233.222.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Jun 2012 10:50:10 +0200 Received: from j.cubizolles by ter75-5-78-233-222-172.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Jun 2012 10:50:10 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric S Fraga writes: > I used to have this problem and it was incredibly annoying. I also > started adding the line Bernt suggests but I kept forgetting for new > files. I finally solved this problem by adding the following lines to > my emacs initialisation: > > #+begin_src emacs-lisp > (prefer-coding-system 'utf-8) > (set-charset-priority 'unicode) > (setq default-process-coding-system '(utf-8-unix . utf-8-unix)) > #+end_src I'll give it a try, thanks for your suggestion. I think my encoding problems come from the many copy-paste I made from web pages (wikipedia mostly) to org-files. I didn't think it would mess anything since wikipedia pages are encoded in utf-8, or so I thought. Julien.