[cl-pdf-devel] Big contibution committed

Attila Lendvai attila.lendvai at gmail.com
Thu Dec 14 17:37:22 UTC 2006


> For the source code (i.e. .lisp) files? I think that's what Attila
> was talking about. That seems a bit extreme as most of Lisp code is
> going to be ASCII. Unless I'm deeply misunderstanding something, the
> encoding we use for the Lisp code has nothing to do with what
> encoding we use to generate PDFs. No?

that's right.

i meant the lisp files, especially those that will contain unicode
tests (you need to get some unicode text from somewhere that you write
into the test pdf's). we could go by some (octets-to-string #(1 2 3 4
5)) expressions, but i think it's a lot simpler to agree that lisp
files are utf-8 encoded. sbcl reads them as utf-8 by default, and i've
got slime set up for that, too.

for anyone looking for slime examples:
http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cl-wdim-environment;a=headblob;f=/init.el

alternatively we can annotate:

;; -*- coding: utf-8 -*-

but it's emacs only.

this is a non-issue while there's no unicode test and now that Marc
removed the non-ascii chars from the sources.

-- 
- attila

"- The truth is that I've been too considerate, and so became
unintentionally cruel...
 - I understand.
 - No, you don't understand! We don't speak the same language!"
(Ingmar Bergman - Smultronstället)


More information about the cl-pdf-devel mailing list