From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giovanni Lanzani Newsgroups: gmane.emacs.help Subject: Re: slime and lisp buffer encoding Date: Fri, 07 Aug 2009 12:26:40 +0200 Organization: NEWS4US dot NL - http://www.news4us.nl Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1249641769 8064 80.91.229.12 (7 Aug 2009 10:42:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2009 10:42:49 +0000 (UTC) Cc: ulissesroc@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 07 12:42:42 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZMuD-0006r3-LD for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 12:42:38 +0200 Original-Received: from localhost ([127.0.0.1]:46835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZMuC-00078v-MC for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 06:42:36 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:a82PecTzb13WBZxFhKtuTuvaeYk= Original-Lines: 41 X-Contact: info@news4us.nl Original-X-Complaints-To: abuse@news4us.nl X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!news.linkpendium.com!news.linkpendium.com!news4us.nl!not-for-mail Original-Xref: news.stanford.edu gnu.emacs.help:171751 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66930 Archived-At: Eric Abrahamsen 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