From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Danjou Subject: Re: Re: Agenda and weather forecast Date: Sat, 11 Sep 2010 11:05:03 +0200 Message-ID: <87sk1gy7k0.fsf@keller.adm.naquadah.org> References: <87d3sn8mmy.fsf@keller.adm.naquadah.org> <874odzl0kc.fsf@gmx.ch> <87eid357zz.fsf@keller.adm.naquadah.org> <87iq2d4osk.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1576148530==" Return-path: Received: from [140.186.70.92] (port=37300 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuM1E-0003EI-H9 for emacs-orgmode@gnu.org; Sat, 11 Sep 2010 05:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuM1D-0001Td-BR for emacs-orgmode@gnu.org; Sat, 11 Sep 2010 05:05:08 -0400 Received: from prometheus.naquadah.org ([212.85.154.174]:43565 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuM1D-0001TW-64 for emacs-orgmode@gnu.org; Sat, 11 Sep 2010 05:05:07 -0400 In-Reply-To: <87iq2d4osk.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 10 Sep 2010 23:10:51 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org --===============1576148530== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyLRj8ACgkQpGK1HsL+5c1+sACgjOoukYaJUFFdwNN0SW6MUs9H D0YAn1PejuwJ3J0U4JL0GWl0ucPYppkG =7qe0 -----END PGP SIGNATURE----- --=-=-=-- --===============1576148530== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1576148530==--