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

With cheapglk, transcript created in ISO8859 instead of utf-8 despite -u #38

Open
stormi opened this issue Jul 14, 2024 · 4 comments
Open

Comments

@stormi
Copy link

stormi commented Jul 14, 2024

This may be another obvious question, but I'm using glulxe+cheapglk+RegTest, and all is well, however when I tried to simplify my test writing by starting with a transcript produced by glulxe -u mygame.ulx, I discovered that despite the console output is utf8, the produced transcript is encoded in ISO8859.

Is it the expected behaviour?

@erkyrath
Copy link
Owner

This is a problem with the library/kit code, which calls glk_stream_open_file() rather than glk_stream_open_file_uni().

I thought this was planned to be updated in the next Inform release, but I'm not sure. I'll check.

@stormi
Copy link
Author

stormi commented Jul 15, 2024

It's possible I'm using too old a version of the compiler or the libs.

@erkyrath
Copy link
Owner

No, the current versions still use byte mode for transcripts (which means ISO8859).

I filed https://inform7.atlassian.net/jira/software/c/projects/I7/issues/I7-2516 .

@stormi
Copy link
Author

stormi commented Jul 15, 2024

Thanks. It's sad Jira won't even let us read the issue without creating an account first. That's where inform7 issues are managed?

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