unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* slime and lisp buffer encoding
@ 2009-08-07  9:52 Eric Abrahamsen
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2009-08-07  9:52 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I'm using Emacs and slime to do a bit of hunchentoot (lisp web server)  
development, and I'm running into an encoding problem. I don't know  
which of the links in the chain is causing the problem, so I hope  
someone here will see what's going...

Basically, using hunchentoot (with cl-who for html templating)  
involves writing the html templates directly into the source code, and  
I'm discovering that I can't type utf-8 text into these source files.  
Compiling a defun with unicode in it results in an encoding error (I  
believe thrown by slime as the defun gets sent to the repl).

I have set everything I can set (file, keyboard, subprocess IO) to  
utf-8-unix. The weird thing is, I can type a Latin accented a (à) into  
the source without trouble. Hunchentoot seems to use a CONTENT-TYPE of  
iso-8859-1 by default, in which case the à shows up fine in the  
browser. If I set content type to utf-8, my browser garbles the à. So  
my lisp strings must be encoded as iso-8859-1, but how did they get  
that way? And how do I make them utf-8?

I'm using emacs CVS, slime 3.0 alpha, Mac Leopard, ccl version 1.2.  
Hope someone's got a pointer (if only to the slime or hunchentoot  
mailing lists).

Thanks,
Eric



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-07 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2009-08-07  9:52 Eric Abrahamsen

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).