From vebjorn at ljosa.com Tue Mar 3 20:01:12 2009 From: vebjorn at ljosa.com (Vebjorn Ljosa) Date: Tue, 03 Mar 2009 15:01:12 -0500 Subject: [babel-devel] How to load new encodings Message-ID: I have extended babel with a new character encoding, but it's not clear to me what is the right way to compile the newly defined encodings and make them visible visible to babel's octets-to-string, etc. So far I have resorted to the following (copied from babel's strings.lisp): (defparameter babel::*string-vector-mappings* (babel-encodings:instantiate-concrete-mappings :octet-seq-setter babel::ub-set :octet-seq-getter babel::ub-get :octet-seq-type (simple-array (unsigned-byte 8) (*)) :code-point-seq-setter babel::string-set :code-point-seq-getter babel::string-get :code-point-seq-type babel:simple-unicode-string)) Is there a better way? Vebjorn From luismbo at gmail.com Thu Mar 5 13:43:12 2009 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Thu, 5 Mar 2009 13:43:12 +0000 Subject: [babel-devel] How to load new encodings In-Reply-To: References: Message-ID: <391f79580903050543v1f6ab337v127066d227c2c282@mail.gmail.com> On Tue, Mar 3, 2009 at 8:01 PM, Vebjorn Ljosa wrote: > I have extended babel with a new character encoding, but it's not clear > to me what is the right way to compile the newly defined encodings and > make them visible visible to babel's octets-to-string, etc. What exactly is the problem? Is it that you don't want to include your new encoding in Babel proper or is it that INSTANTIATE-CONCRETE-MAPPINGS takes too long when you're developing your new code? -- Lu?s Oliveira http://student.dei.uc.pt/~lmoliv/ From archimag at gmail.com Thu Mar 5 15:33:24 2009 From: archimag at gmail.com (Andrey Moskvitin) Date: Thu, 5 Mar 2009 18:33:24 +0300 Subject: [babel-devel] Russian Windows encoding Message-ID: Hi, I port code (see attached file) for cp1251 (windows-1251) encoding from libiconv , please add it to babel. Moskvitin Andrey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cp1251.lisp Type: application/octet-stream Size: 4041 bytes Desc: not available URL: From luismbo at gmail.com Mon Mar 16 23:46:04 2009 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Mon, 16 Mar 2009 23:46:04 +0000 Subject: No subject In-Reply-To: References: Message-ID: <391f79580903161646v32a6f39fr5ab4549842c04067@mail.gmail.com>