Skip to content

Fix locking shifts not working properly in utf-8 mode. - #565

Merged
davidrg merged 1 commit into
masterfrom
utf8-scs
Sep 8, 2026
Merged

Fix locking shifts not working properly in utf-8 mode.#565
davidrg merged 1 commit into
masterfrom
utf8-scs

Conversation

@davidrg

@davidrg davidrg commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Problem turned out to be fairly trivial - the state of GNOW is updated by the remote-to-local translation function, so checking it before that was called (to decide if we should do utf8 things instead) meant that we were checking the old version of GNOW, not what it was going to be. Instead make the same decision rtoxlat does but only for 7 bit characters.

@j4james

j4james commented Sep 7, 2026

Copy link
Copy Markdown

I've just done a quick test with this now, and it still didn't seem to work, but it's possible I haven't done the build correctly or something like that. I'll try and take a closer look later tonight, and maybe put together a simple test case.

@j4james

j4james commented Sep 7, 2026

Copy link
Copy Markdown

Don't panic yet! I think I just messed up my checkout of the PR. Building again now.

@j4james

j4james commented Sep 7, 2026

Copy link
Copy Markdown

OK, I can confirm it's working perfectly now! Sorry for the false alarm.

@davidrg

davidrg commented Sep 8, 2026

Copy link
Copy Markdown
Owner Author

Glad to hear it works! No worries about the false alarm - I created the PR just before heading out the door to work so I'm only getting back to it now on my lunch break.

@davidrg
davidrg merged commit a085d09 into master Sep 8, 2026
32 checks passed
@davidrg
davidrg deleted the utf8-scs branch September 8, 2026 00:17
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

Successfully merging this pull request may close these issues.

2 participants