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

Unicode seems to be broken #47

Open
ceving opened this issue Jan 13, 2023 · 2 comments
Open

Unicode seems to be broken #47

ceving opened this issue Jan 13, 2023 · 2 comments

Comments

@ceving
Copy link

ceving commented Jan 13, 2023

See the following example:

$ export LC_ALL=C
$ ./scsh -s unicode.scm 
Hello ???Alice???
$ export LC_ALL=de_DE.UTF-8
$ ./scsh -s unicode.scm 
Hello âAliceâ
$ cat unicode.scm 
(display "Hello ‘Alice‘\n")
$ petite --script unicode.scm 
Hello ‘Alice‘
@bitstreamout
Copy link

bitstreamout commented Jan 13, 2023 via email

@ceving
Copy link
Author

ceving commented Jan 13, 2023

The option -c works for me, too:

$ scsh -c '(display "Hello ‘Alice‘\n")'
Hello ‘Alice‘

But the option -s does not work:

$ scsh -s <(echo '(display "Hello ‘Alice‘\n")')
Hello âAliceâ

Maybe any kind of Perlism (source files are treated as Latin)?

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

2 participants