emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to sanitize org-protocol text ?


From: Sander Boer
Subject: Re: [O] how to sanitize org-protocol text ?
Date: Fri, 10 Apr 2015 09:29:08 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Hi Samuel,

thank you for replying.
Yes I am on windows 7, I forgot to mention that. I have not tested this behavior on win 8 yet.

winhate.Add("Ah windows, a deep well of sorrow and disappointment (maildir on win anyone?).")

Anyway,

selection-coding-system : utf-8
current-language-environment: Dutch
file-name-coding-system: nil
default-file-name-coding-system: utf-8
w32-unicode-filenames: t

I was under the impression that setting all the file codings to unicode would remove conding issues, but judging from the amount of posts of Xah Lee on the subject I think I should know better.

gr.
S

On 9-4-2015 5:31, Samuel W. Flint wrote:
Sander Boer <address@hidden> writes:

Hi,

I just set up org-protocol and it works fine. However, when I have
text selected to have it end up in the body of the new note I get
presented with two problems:

- Every linebreak has a trailing ^M, this does not happen when I paste
the text.
Are you on Windows?

- Unicode quote symbols ? The text is speckled with \222 ("there’s"
becomes "there\222s")  or \221  (‘quote’ becomes \221quote\222)
Again, are you on Windows?

Is there a solution ?
What are the values of the following?
  - selection-coding-system
  - current-language-environment
  - file-name-coding-system

gr
S


HTH,

Sam

--
Samuel W. Flint
address@hidden                  (402) 517-8468      <XMPP>
freenode: swflint
http://flintfam.org/~swflint
4096R/266596F4
       (9477 D23E 389E 40C5 2F10  DE19 68E5 318E 2665 96F4)
"The most dangerous phrase in the language is, 'We've always done it
this way'."  -- Grace Hopper




reply via email to

[Prev in Thread] Current Thread [Next in Thread]