From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Mattias_J=E4mting?= Subject: Insert link with "foreign" character - cannot save Date: Thu, 12 Nov 2009 10:28:56 +0100 Message-ID: <000001ca637a$8f7c04f0$ae740ed0$@se> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8WJP-0001I9-L1 for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8WJJ-0001Ek-VS for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:54 -0500 Received: from [199.232.76.173] (port=47665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8WJJ-0001EX-Md for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:49 -0500 Received: from [62.95.110.116] (port=3960 helo=orangutang.se) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8WJJ-0003lB-9m for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:49 -0500 Received: from hydrogen ([89.160.117.27]) by orangutang.se (orangutang.se [62.95.110.114]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 22-md50000001618.tmp for ; Thu, 12 Nov 2009 10:28:43 +0100 Content-Language: sv List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org (I'm using English Windows Vista x64, Emacs 23.1 and Org-mode 6.32b) So i'm doing C-u C-c C-l to browse for a file in order to insert a link = to it. The path and/or the filename contains for instance an =F6 (an o with two = dots above it, also the swedish word for "island"), which gets translated in = my org-file as \366. When I try to save the file I see the message: These default coding systems were tried to encode text in the buffer `jwd.org': (utf-8-dos (79 . 4194294)) However, each of them encountered characters it couldn't encode: utf-8-dos cannot encode these: These default coding systems were = tried to encode text in the buffer `jwd.org': (utf-8-dos (79 . 4194294)) However, each of them encountered characters it couldn't encode: utf-8-dos cannot encode these: \366 Next I tried to hack myself a fix :-) I added (?\366 . "%F6") to org-link-escape-chars and ran make on it = again, but it didn't seem to work. So what can I try next? Best regards, Mattias=20