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

clisp/maxima dies with "invalid byte" on non-ASCII filename characters #276

Closed
sagetrac-cwitty mannequin opened this issue Feb 22, 2007 · 1 comment
Closed

clisp/maxima dies with "invalid byte" on non-ASCII filename characters #276

sagetrac-cwitty mannequin opened this issue Feb 22, 2007 · 1 comment

Comments

@sagetrac-cwitty
Copy link
Mannequin

sagetrac-cwitty mannequin commented Feb 22, 2007

When clisp (and hence maxima) starts, it tries to load ~/.clisprc; this involves reading the names of all files in my home directory. If I have no locale-related environment variables set, and I have a non-ASCII character in some filename in my home directory (in my case, an 'ñ'), then clisp prints out the following error message:

*** - invalid byte #xF1 in CHARSET:ASCII conversion
The following restarts are available:
ABORT          :R1      ABORT
ABORT          :R2      ABORT
Break 1 [3]>

(If I abort from here, then clisp/maxima continues to start up, and apparently runs correctly.)

Evidently, the clisp people don't consider this a bug; it is documented here:
http://clisp.cons.org/impnotes/faq.html#faq-enc-err

I suggest that SAGE should either set locale environment variables or use the -E flag to set encodings when it runs maxima (as suggested in the above-linked FAQ entry). (For now, I have worked around the problem by moving this file out of my home directory.)

Component: interfaces

Keywords: clisp maxima

Issue created by migration from https://trac.sagemath.org/ticket/276

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.9.1 milestone Sep 6, 2007
@williamstein
Copy link
Contributor

Attachment: trac276.patch.gz

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

No branches or pull requests

1 participant