From: jcm@SDF.ORG - 2011-12-04 15:48:44
|
Is there a tutorial somewhere on writing non-ascii characters to a file? I have latin-1 encoded characters in a db, and I'm not sure how to write those out. I can use flexi-streams:string-to-octets and back, but how can I use with-open-file to write the correct characters to a text file? Sorry if this is a simple question, but this is my first foray into encoding, and I'm sticking with SBCL to do it. |