Skip to content

External format when opening files #39

Description

@Yehouda

in csv.lisp, %in-stream opens the file with *default-external-format*, which defaults to :default. That works if the default external format of the Lisp in which you run matches the external-format of the file. In particular, when runnign the tests, the files test fails if the default is not utf-8.

Since the input files are in utf-8, somewhere, either in the code itself or in the test, needs to force it to be utf-8. The asdf varaible asdf:*utf-8-external-format* (actually in uiop/stream) is a good value to use to make it portable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions