From gwking at metabang.com Mon Nov 17 13:46:04 2008 From: gwking at metabang.com (Gary King) Date: Mon, 17 Nov 2008 08:46:04 -0500 Subject: [asdf-install-devel] Clozure CL with UTF-8 default In-Reply-To: <75EE89BD-B523-49C1-8233-37989CB971B2@gmail.com> References: <75EE89BD-B523-49C1-8233-37989CB971B2@gmail.com> Message-ID: <43AD19B4-D680-4378-BCDC-BF8C3D0EF7B2@metabang.com> Hi Kazuo, My apologies for my long delay in replying. This looks like a great patch and I will incorporate it into ASDF-Install soon (i.e., this week!). thanks, On Oct 25, 2008, at 12:17 AM, Kazuo Koga wrote: > Hi, > > I'm using Clozure CL(1.2 on macppc) with none default external-format. > I use UTF-8. > so, > (setf ccl:*default-external-format* :utf-8) > > This can write Lisp code in Japanese and cooperate with SLIME well. > > But this makes problem with ASDF-INSTALL. > I wrote small patch for ASDF-INSTALL to use explicit external-format > to save file. > > Thanks, > -- > koga > > > --------------------------------- > > asdf-install-unstable/asdf-install/port.lisp: > > (defun open-file-arguments () > (append > #+sbcl > '(:external-format :latin1) > #+:scl > '(:external-format :iso-8859-1) > + #+:clozure > + '(:external-format :iso-8859-1) > #+(or :clisp :digitool (and :lispworks :win32)) > '(:element-type (unsigned-byte 8)))) > > > _______________________________________________ > asdf-install-devel mailing list > asdf-install-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM