From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: encoding problem Date: Wed, 30 May 2012 11:55:18 +0200 Message-ID: <87mx4q0z95.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZfd4-0006Ot-Qn for emacs-orgmode@gnu.org; Wed, 30 May 2012 05:55:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZfcw-0001YU-VC for emacs-orgmode@gnu.org; Wed, 30 May 2012 05:55:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:57146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZfcw-0001YA-PC for emacs-orgmode@gnu.org; Wed, 30 May 2012 05:55:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SZfcs-0001co-Lt for emacs-orgmode@gnu.org; Wed, 30 May 2012 11:55:34 +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 ; Wed, 30 May 2012 11:55:34 +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 ; Wed, 30 May 2012 11:55:34 +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 I'm having a very strange problem with character encoding. I write all my text files with emacs, with non-ascii characters (I'm french). I keep a copy of many files (latex/org/...) on separate machines using unison. Very often after a synchronization, the non-ascii charaters are completely displayed wrong (à for à, ç for ç) in the org files, but never in the latex files. I guess it's more an Emacs than org files but I can't see what's special in the org files that makes them more prone to such errors. Is there a way to *fix* easily these corruptions on a file, ie searching for all "weird" characters to replace ? How could I prevent this from happening again (checking/changing character encoding maybe ?) Thanks for your help, Julien.