-
Notifications
You must be signed in to change notification settings - Fork 59
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
Stream decodification Issue on Windows Machines with Accentuated Hostnames #69
Comments
This issue is likely to affect not only accentuated characters but also any non-UTF-8 encoded characters that are permitted in Windows hostnames. It would be ideal to implement a solution that addresses these potential cases as well, ensuring robust support for all valid Windows hostnames. |
Do you know if this is restricted to pylsl? If not then this should be made an issue on sccn/liblsl. If it's just pylsl then it can probably be fixed easily but it's hard to test for me. Would you be able to propose a solution? |
The error that I get is: It seems to be a problem related with how pylsl decodes the string of hostname, so I have tried a simple solution. If you do not see any other interferences of this change, it worked for an accentuated name. I do not know if there would be other unexpected problems when combining latin words and characters of other languages, but this solved the particular case I mentioned. UPDATE:
|
Currently, on Windows operating systems, machines can have hostnames with accentuated characters. However, when a Stream is created on a machine that has a hostname with accentuated characters, an error occurs in liblsl when accessing the stream hostname. This is because the machine's hostname is not properly UTF-8 encoded.
To ensure compatibility and prevent errors, liblsl should be updated to handle Windows hostnames with accentuated characters.
The text was updated successfully, but these errors were encountered: