org-cliplink
org-cliplink copied to clipboard
Support for different charsets
Finally I found a page with non-utf-8 charset that I need to cliplink. :)
http://www.hemi.nsu.ru/index.htm
As I know charset is usually defined in the Content-Type. Content-Type can be set in headers or meta tags. We should support both.
Meta tags override headers I guess. At least this is what I see in the above link.
Some useful links regarding HTTP protocol:
- http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
- http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.4
IANA: Character Sets: http://www.iana.org/assignments/character-sets/character-sets.xhtml
http://www.gnu.org/software/emacs/manual/html_node/emacs/Charsets.html
M-x list-character-setsdisplays a list of all supported charsets.
Some useful links regarding charsets and encoding in Emacs:
- http://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Systems.html
- http://www.gnu.org/software/emacs/manual/html_node/elisp/Non_002dASCII-Characters.html
Soon we will have another backend #60. Maybe it's possible to resolve on the cURL's level.