From: Giovanni Lanzani <ulissesroc@gmail.com>
To: help-gnu-emacs@gnu.org
Cc: ulissesroc@gmail.com
Subject: Re: slime and lisp buffer encoding
Date: Fri, 07 Aug 2009 12:26:40 +0200 [thread overview]
Message-ID: <m2prb7ex7j.fsf@90.212.229.132.in-addr.arpa> (raw)
In-Reply-To: mailman.4108.1249638780.2239.help-gnu-emacs@gnu.org
Eric Abrahamsen <girzel@gmail.com> writes:
> Eric Hi,
> Eric
> Eric I'm using Emacs and slime to do a bit of hunchentoot (lisp
> Eric web server) development, and I'm running into an encoding
> Eric problem. I don't know which of the links in the chain is
> Eric causing the problem, so I hope someone here will see what's
> Eric going...
> Eric
> Eric Basically, using hunchentoot (with cl-who for html
> Eric templating) involves writing the html templates directly
> Eric into the source code, and I'm discovering that I can't type
> Eric utf-8 text into these source files. Compiling a defun with
> Eric unicode in it results in an encoding error (I believe
> Eric thrown by slime as the defun gets sent to the repl).
> Eric
> Eric I have set everything I can set (file, keyboard, subprocess
> Eric IO) to utf-8-unix. The weird thing is, I can type a Latin
> Eric accented a (à) into the source without trouble. Hunchentoot
> Eric seems to use a CONTENT-TYPE of iso-8859-1 by default, in
> Eric which case the à shows up fine in the browser. If I set
> Eric content type to utf-8, my browser garbles the à. So my lisp
> Eric strings must be encoded as iso-8859-1, but how did they get
> Eric that way? And how do I make them utf-8?
> Eric
> Eric I'm using emacs CVS, slime 3.0 alpha, Mac Leopard, ccl
> Eric version 1.2. Hope someone's got a pointer (if only to the
> Eric slime or hunchentoot mailing lists).
> Eric
> Eric Thanks,
> Eric Eric
Hi Eric, I don't know if this is related to another problem I have with
weblogger.el: basically if I write some html code, emacs, when sending
it to the web, screws it up. This does not happen with Emacs 22. Would
you be able to try Emacs 22 and see if this happens?
Thanks
Giovanni
next prev parent reply other threads:[~2009-08-07 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4108.1249638780.2239.help-gnu-emacs@gnu.org>
2009-08-07 10:23 ` slime and lisp buffer encoding Eric
2009-08-07 13:10 ` Pascal J. Bourguignon
2009-08-07 10:26 ` Giovanni Lanzani [this message]
2009-08-07 9:52 Eric Abrahamsen
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2prb7ex7j.fsf@90.212.229.132.in-addr.arpa \
--to=ulissesroc@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).