Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to load on LispWorks due to Unicode in README.md #61

Open
Zulu-Inuoe opened this issue Feb 4, 2020 · 0 comments
Open

Fails to load on LispWorks due to Unicode in README.md #61

Zulu-Inuoe opened this issue Feb 4, 2020 · 0 comments

Comments

@Zulu-Inuoe
Copy link

When loading on LispWorks 6.1 x86 on Windows I get

Error: Error while trying to load definition for system jonathan from pathname C:\Users\zulu\quicklisp\dists\quicklisp\software\jonathan-20190202-git\jonathan.asd:
          External format (:UTF-8 :EOL-STYLE :LF) got error reading #<STREAM::EF-FILE-STREAM C:\Users\zulu\quicklisp\dists\quicklisp\software\jonathan-20190202-git\README.md>: cannot convert #x2000B to a character as this exceeds the char-code-limit (#x10000).

Tracked this down to the system doing a read-time eval to load in the readme into its long-description:

:long-description
  #.(with-open-file (stream (merge-pathnames
                             #p"README.md"
                             (or *load-pathname* *compile-file-pathname*))
                            :if-does-not-exist nil
                            :direction :input
                            :element-type #+lispworks :default #-lispworks 'character
                            :external-format #+clisp charset:utf-8 #-clisp :utf-8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant