Re: [Orgmode] org-protocol and encoding

2009-04-16 Thread Carsten Dominik
Hi Sebastian, this looks like a good solution! Send me a final patch when you are convinced yourself. Ulf, can you do some testing, please? Thanks. - Carsten On Apr 16, 2009, at 12:22 AM, Sebastian Rose wrote: Hi Ulf and Carsten, here appended is a patch, that does two things. 1. Decod

Re: [Orgmode] org-protocol and encoding

2009-04-15 Thread Sebastian Rose
Sorry for replying to my own mail. Reading `man utf-8' might help to understand what the patch does. And, utf-8 is what is decoded here. Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode

Re: [Orgmode] org-protocol and encoding

2009-04-15 Thread Sebastian Rose
Hi Ulf and Carsten, here appended is a patch, that does two things. 1. Decode hex-encoded unicode = The new function `org-protocol-unhex-string' correctly decodes unicode hex-enoded, just like the JavaScript function `encodeURIComponent' does. I tested with sever

Re: [Orgmode] org-protocol and encoding

2009-04-09 Thread Carsten Dominik
On Apr 6, 2009, at 1:53 PM, Sebastian Rose wrote: Ulf Stegemann writes: org-protocol is really a great extension for org-mode! However, I experience an annoyance regarding non-ascii character encoding. When using org-protocol with remember and firefox, all non-ascii characters get b0rked in

Re: [Orgmode] org-protocol and encoding

2009-04-07 Thread Sebastian Rose
Sebastian Rose writes: > This seems to be a emacs/remember problem though. > > > If I open a file `xy.txt' and select this text: > > lkäüüäüpüpjüpjsf > > and then 'C-x r' to remember it, I get this in my remember buffer: > > [[file:~/xy.txt::lk%20p%20pj%20pjsf][file:~/xy.txt::lk p pj pjsf]] >

Re: [Orgmode] org-protocol and encoding

2009-04-06 Thread Sebastian Rose
Ulf Stegemann writes: > org-protocol is really a great extension for org-mode! However, I > experience an annoyance regarding non-ascii character encoding. > > When using org-protocol with remember and firefox, all non-ascii > characters get b0rked in the remember buffer (on linux, with emacs 23 >

[Orgmode] org-protocol and encoding

2009-04-06 Thread Ulf Stegemann
org-protocol is really a great extension for org-mode! However, I experience an annoyance regarding non-ascii character encoding. When using org-protocol with remember and firefox, all non-ascii characters get b0rked in the remember buffer (on linux, with emacs 23 and org-mode as of today and late