From: Julien Danjou <julien@danjou.info>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Agenda and weather forecast
Date: Sat, 11 Sep 2010 11:05:03 +0200 [thread overview]
Message-ID: <87sk1gy7k0.fsf@keller.adm.naquadah.org> (raw)
In-Reply-To: <87iq2d4osk.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 10 Sep 2010 23:10:51 +0800")
[-- Attachment #1.1: Type: text/plain, Size: 945 bytes --]
On Fri, Sep 10 2010, Eric Abrahamsen wrote:
> (icon is a sun, "domestic" is the name of the file I put the weather
> statement in). So the cedillas... Something's definitely off with
> encoding -- where do I start to look? My language environment is utf-8,
> I've got Chinese fonts, if that's the problem... What else?
That's probably my fault. I don't know well the Emacs API, and my
tempting to encode correctly the data fetched from the Web is probably
not bullet-proof. So it might be that.
The code is in `google-weather-retrieve-data':
(decode-coding-region
(point) (point-max)
(detect-coding-region (point) (point-max) t))
(set-buffer-multibyte t)
(setq data (xml-parse-region (point) (point-max)))
This may not be the good way to do it. zh-cn pages seems to be in GB2312
encoding.
Any hint welcome.
--
Julien Danjou
// ᐰ <julien@danjou.info> http://julien.danjou.info
[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-09-11 9:05 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-09 6:19 Agenda and weather forecast Julien Danjou
2010-09-09 9:05 ` Simon Guest
2010-09-09 13:30 ` George McNinch
2010-09-09 18:18 ` Ian Barton
2010-09-10 8:51 ` Ian Barton
2010-09-09 21:31 ` Simon Guest
2010-09-09 9:37 ` Sven Bretfeld
2010-09-09 11:22 ` Agenda and weather forecast | language and units Juan Pechiar
2010-09-09 12:15 ` Sven Bretfeld
2010-09-09 14:52 ` Rafael
2010-09-09 15:08 ` Jason McBrayer
2010-09-09 14:03 ` Agenda and weather forecast Julien Danjou
2010-09-10 15:10 ` Eric Abrahamsen
2010-09-11 9:05 ` Julien Danjou [this message]
2010-09-09 11:35 ` Agenda and weather forecast | alternative icon set Juan
2010-09-09 12:06 ` Agenda and weather forecast d.tchin
2010-09-09 12:20 ` Sven Bretfeld
2010-09-09 12:33 ` Re: Agenda and weather forecast | multiple forecasts Juan
2010-09-09 14:17 ` d.tchin
2010-09-09 14:09 ` Re: Agenda and weather forecast Julien Danjou
2010-09-09 14:29 ` d.tchin
2010-09-10 19:52 ` d.tchin
2010-09-09 12:52 ` Richard Riley
2010-09-09 14:23 ` Bernt Hansen
2010-09-09 15:39 ` Julien Danjou
2010-09-09 15:46 ` Bernt Hansen
2010-09-09 15:02 ` Jason McBrayer
2010-09-09 15:41 ` Julien Danjou
2010-09-09 19:33 ` Ivan Vilata i Balaguer
2010-09-10 0:06 ` Flavio Souza
2010-09-10 9:11 ` Eric S Fraga
2010-09-10 9:12 ` Eric S Fraga
2010-09-11 18:59 ` Christopher Allan Webber
2010-09-11 19:09 ` Christopher Allan Webber
2010-09-11 19:30 ` Julien Danjou
2010-09-12 0:02 ` Richard Riley
2010-09-12 11:14 ` Julien Danjou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sk1gy7k0.fsf@keller.adm.naquadah.org \
--to=julien@danjou.info \
--cc=emacs-orgmode@gnu.org \
--cc=eric@ericabrahamsen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).