Hi,

Oh.
Thanks for your information!
I think encoding names (
https://common-lisp.net/project/ecl/manual/ch21.html#ansi.streams.formats)
are specified as a keyword.
Is it OK?

And thanks about new mailing list. I subscribed new one.


2015-08-27 23:17 GMT+09:00 Daniel Kochmański <jackdan...@hellsgate.pl>:

> Hey,
>
> Encoding shouldn't be specified as a symbol in the extensions package,
> but as a keyword. Fixed example would be:
>
> CL-USER> (with-open-file (out "test.txt"
>                  :direction :output
>                  :external-format '(:crlf :cp932))
>   (write-string "some string" out))
> "some string"
>
> btw, please subscribe to new mailing list, since this one will be closed
> in a few days. (https://mailman.common-lisp.net/listinfo/ecl-devel)
>
> Best regards,
> Daniel
>
> 田中慎一 writes:
>
> > Hi,
> >
> > I reported a bug about external-format:
> > https://gitlab.com/embeddable-common-lisp/ecl/issues/9
> >
> > This issue is closed, but same code invoked another error.
> >
> > Guys, have any information?
> >
> > =====
> > ECL (Embeddable Common-Lisp) 16.0.0
> > (git:d6dd52f0002041131af0f8c881acb6391e297da2)
> > Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
> > Copyright (C) 1993 Giuseppe Attardi
> > Copyright (C) 2000 Juan J. Garcia-Ripoll
> > Copyright (C) 2015 Daniel Kochmanski
> > ECL is free software, and you are welcome to redistribute it
> > under certain conditions; see file 'Copyright' for details.
> > Type :h for Help.
> > Top level in: #<process TOP-LEVEL>.
> >> (with-open-file (out "test.txt"
> >                  :direction :output
> >                  :external-format '(:crlf ext:cp932))
> >   (write-string "some string" out))
> > Condition of type: SIMPLE-ERROR
> > Cannot find the external symbol CP932 in #<"EXT" package>.
> >
> > Available restarts:
> >
> > 1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
> >
> > Broken at SI:BYTECODES. [Evaluation of: (SI:TOP-LEVEL T)] In: #<process
> > TOP-LEVEL>.
> >>> :q
> >
> > =====
> >
> > Thank you,
> >
> > Shinichi
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Ecls-list mailing list
> > Ecls-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ecls-list
>
> --
> Daniel Kochmański | Poznań, Poland
> ;; aka jackdaniel
>
> "Be the change that you wish to see in the world." - Mahatma Gandhi
>
------------------------------------------------------------------------------
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to