-
Notifications
You must be signed in to change notification settings - Fork 161
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
"\200" and "\377" show as "?" on SPARC Solaris 11 #2194
Comments
My guess would be that What happens if you force the locale to A simple fix would be to stop using |
Actually, looking at the code some more, I think now we don't do anything about non-printable characters, and just leave it to the OS to format them somehow. Seems that on Linux, macOS etc., it produces garbage (at least in an UTF-8 terminal), while Solaris handles it differently. I don't see an easy fix for that. Of course we could add custom pre-processing before sending anything to the output, but that would require changing a lot of places, slow things down, and I am not sure I consider it a good idea to start with. So I am tempted to say: "tough luck for solaris", and close this as "wontfix". |
Note that even on Linux if you set
whereas with That is to say, these tests in |
See also gap-system/homebrew-gap#2 |
These caused issues in various places, but test nothing useful. Resolves gap-system#2194 Resolves gap-system#3979
These caused issues in various places, but test nothing useful. Resolves gap-system#2194 Resolves gap-system#3979
These caused issues in various places, but test nothing useful. Resolves gap-system#2194 Resolves gap-system#3979
Observed behaviour
Expected behaviour
this is master git of 19.02.2018, built with gcc 5.4.0.
(same with 4.9 beta of 01st of Feb).
\0x7E
and\0x7F
(i.e. octal 176 and 177) still work, but\0x80
(i.e. octal 200) does not.So this looks like that only rightmost 17 bits work, and setting any bit to the left of
the rightmost 17 does not work correctly.
Note that the chars
'\200'
, etc work as they should!In case, here are locale settings:
Also, here is what I see running tests in
testinstall
for the 4.9 beta.The text was updated successfully, but these errors were encountered: