From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Mattias_J=C3=A4mting?= Subject: Insert link with "foreign" character - cannot save Date: Thu, 12 Nov 2009 10:49:25 +0100 Message-ID: <3cd3eaf50911120149u5e93ea9fuc1352ef93eafaac4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8WJM-0001H4-0h for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8WJH-0001C6-6F for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:51 -0500 Received: from [199.232.76.173] (port=47663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8WJH-0001Bv-28 for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:47 -0500 Received: from mail-yw0-f194.google.com ([209.85.211.194]:51116) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8WJG-0003kr-Me for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 04:49:46 -0500 Received: by ywh32 with SMTP id 32so1963450ywh.14 for ; Thu, 12 Nov 2009 01:49:45 -0800 (PST) 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 =C3=B6 (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