-
Notifications
You must be signed in to change notification settings - Fork 0
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
Plugin displays <?> "Character not found" character in Avogadro2 menu entries in Windows 10 #2
Comments
This is done to match the other menu items in Avogadro, which have been standardized to use the ellipsis character rather than three full stops/periods. So I'll be keeping it as is. Obviously the fact that it is displayed incorrectly is a problem that needs fixing, though. I assume that other menu options with … display correctly for you? In which case there is some problem in the way that Avogadro gets the options json from plugins. Presumably down to the character encoding used at various stages. |
Indeed, Avogadro's native menu items show correctly. On Windows, all output to the console (as in print) seems to be automatically converted to CP1257. |
Thanks for digging on this. Seems like it should be an easy fix. It would be better to fix this on Avogadro's side of things though, as all plugins are going to be behaving the same on Windows. |
Are you going to open the forum thread or shall I do it ? |
I opened an issue but you're welcome to start the forum thread! |
I mean, it's definitely a faster fix to tweak the script. Probably using |
True. I added the fix for now. @Ineluki80 I would appreciate you testing the plugin again. Then I'll make a 0.2.1 release. |
Works beautifully now. |
Source: The menu entries "Configure ..." and "Get xtb ..." use the single unicode character "…"
Problem: Menues in Windows 10 show this character as "�"
Solution: Replace "…" with "..." three consecutive dots in config.py : 201 and install.py : 155
The text was updated successfully, but these errors were encountered: