emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Insert link with "foreign" character - cannot save
@ 2009-11-12  9:49 Mattias Jämting
  0 siblings, 0 replies; 8+ messages in thread
From: Mattias Jämting @ 2009-11-12  9:49 UTC (permalink / raw)
  To: emacs-orgmode

(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 ö (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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Insert link with "foreign" character - cannot save
@ 2009-11-12  9:28 Mattias Jämting
  2009-11-20 17:03 ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Mattias Jämting @ 2009-11-12  9:28 UTC (permalink / raw)
  To: emacs-orgmode

(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 ö (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 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-12-08 17:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-12  9:49 Insert link with "foreign" character - cannot save Mattias Jämting
  -- strict thread matches above, loose matches on Subject: below --
2009-11-12  9:28 Mattias Jämting
2009-11-20 17:03 ` Carsten Dominik
2009-11-20 23:17   ` Sebastian Rose
2009-11-22  1:12     ` Sebastian Rose
2009-11-22  1:32       ` Sebastian Rose
2009-12-07 23:36         ` Mattias Jämting
2009-12-08 16:37           ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).