all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* function to decode url percent encoding
@ 2010-05-18 18:12 Xah Lee
  2010-05-18 18:26 ` Xah Lee
  0 siblings, 1 reply; 5+ messages in thread
From: Xah Lee @ 2010-05-18 18:12 UTC (permalink / raw)
  To: help-gnu-emacs

is there a function that decode the url percent encoding?

e.g.
http://en.wikipedia.org/wiki/Sylvester%E2%80%93Gallai_theorem

should become

http://en.wikipedia.org/wiki/Sylvester–Gallai_theorem

that's a EN DASH, unicode 8211.

but that just unhex, and generate gibberish if the url contain unicode
chars.

thanks.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-25  0:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18 18:12 function to decode url percent encoding Xah Lee
2010-05-18 18:26 ` Xah Lee
     [not found]   ` <jwvvdakrk9t.fsf-monnier+gnu.emacs.help@gnu.org>
     [not found]     ` <878w7gaox3.fsf@fh-trier.de>
     [not found]       ` <jwvhbm4oufs.fsf-monnier+gnu.emacs.help@gnu.org>
2010-05-24 14:33         ` Xah Lee
2010-05-24 17:55           ` Xah Lee
2010-05-25  0:26           ` Jason Rumney

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.