From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: slime and lisp buffer encoding Date: Fri, 7 Aug 2009 17:52:46 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249638820 32293 80.91.229.12 (7 Aug 2009 09:53:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2009 09:53:40 +0000 (UTC) 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 11:53:33 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 1MZM8h-0001qy-TM for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 11:53:32 +0200 Original-Received: from localhost ([127.0.0.1]:54173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZM8g-0003Ao-L0 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 05:53:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZM8B-00038J-2e for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 05:52:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZM86-00031i-5s for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 05:52:58 -0400 Original-Received: from [199.232.76.173] (port=36837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZM85-00031Q-VU for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 05:52:54 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.244]:56601) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZM85-0000Lo-2O for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 05:52:53 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so521735rvb.6 for ; Fri, 07 Aug 2009 02:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=e9Q3oAY5fk+dBwmdBozgGAPfy7y/JuKImCTcJcByiuw=; b=ROTziTfFfyOI3r8K8hrqtCauzE1wZJHSE2p/AEbujF4ilsC99dvIwmkI2voDbPSKii TF6/zNFOyekaGz2V0wOiIVoL4IZbP5nzuHCzeE9CUm5W3Bb5H0MAURmPrzjUrz/Dm4ci VT5HYeFaZfRCt1T9Jj72ewKM6ebY6wikb3/pE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=v+i4Q1+L/3RUGLZelIZue6ZpAt1caz2wbHFD5weWg/r8ihUMHdfyylEo37VGgn0iIw sOGWDzxa6gc+u1A4yhzu4kAkwfV1Kn+06drzVKscxDUXhpHlO+OdXnJjBjTlAljBPVQO MyZaS268MOUv5oA1o6mNKVE+Mu82h8vzLz+No= Original-Received: by 10.141.50.4 with SMTP id c4mr399895rvk.291.1249638772007; Fri, 07 Aug 2009 02:52:52 -0700 (PDT) Original-Received: from ?192.168.1.103? ([61.51.239.176]) by mx.google.com with ESMTPS id c20sm5229907rvf.51.2009.08.07.02.52.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Aug 2009 02:52:51 -0700 (PDT) X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:66928 Archived-At: Hi, I'm using Emacs and slime to do a bit of hunchentoot (lisp web server) =20= development, and I'm running into an encoding problem. I don't know =20 which of the links in the chain is causing the problem, so I hope =20 someone here will see what's going... Basically, using hunchentoot (with cl-who for html templating) =20 involves writing the html templates directly into the source code, and =20= I'm discovering that I can't type utf-8 text into these source files. =20= Compiling a defun with unicode in it results in an encoding error (I =20 believe thrown by slime as the defun gets sent to the repl). I have set everything I can set (file, keyboard, subprocess IO) to =20 utf-8-unix. The weird thing is, I can type a Latin accented a (=E0) into = =20 the source without trouble. Hunchentoot seems to use a CONTENT-TYPE of =20= iso-8859-1 by default, in which case the =E0 shows up fine in the =20 browser. If I set content type to utf-8, my browser garbles the =E0. So =20= my lisp strings must be encoded as iso-8859-1, but how did they get =20 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. =20 Hope someone's got a pointer (if only to the slime or hunchentoot =20 mailing lists). Thanks, Eric=