[Ecls-list] Cannot specify external-format

Daniel Kochmański jackdaniel at hellsgate.pl
Wed Apr 22 14:58:09 UTC 2015


Hey,

we're aware of this bug - I accidently broke something when was fixing
build problems on windows (related to make-encoding). It affects a few
libraries. I hope to fix it soon and put it in next release.

Best regards,
Daniel

田中慎一 writes:

> Hi,
>
>
> I cannot specify external-format (for example "(:crlf :cp932)") on my
> environment.
>
> I want to write string to file with some encoding. So I type in my REPL
> like this:
>
> (with-open-file (out "test.txt"
>                  :direction :output
>                  :external-format '(:crlf ext:cp932))
>   (write-string "some string" out))
>
> Then invoked debugger and it shows that:
>
> The function EXT:MAKE-ENCODING is undefined.
>    [Condition of type UNDEFINED-FUNCTION]
>
> When the external-format is :utf-8, string is successfully written.
>
> Is this an wrong way? Or my environment is broken?
>
>
> Just for your information, I send below.
> Please tell me if it's not enough.
>
>
>> *features*
>
> (:NEW :LINUX :FORMATTER :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK
>  :LONG-LONG :UINT64-T :UINT32-T :UINT16-T :RELATIVE-PACKAGE-NAMES
> :LONG-FLOAT
>  :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN :CLOS
> :THREADS
>  :BOEHM-GC :ANSI-CL :COMMON-LISP :IEEE-FLOATING-POINT :PREFIXED-API :FFI
>  :X86_64 :COMMON :ECL)
>> (lisp-implementation-type)
>
> "ECL"
>> (lisp-implementation-version)
>
> "15.3.7"
>>
>
>
> Thank you,
>
> Shinichi
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
> Ecls-list mailing list
> Ecls-list at 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




More information about the ecl-devel mailing list