-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Use three dots instead of elipsis #162
Conversation
pylupdate5 hardcodes the output to ascii symbols, therefore any unicode is XML encoded and cannot be reverted to the original state. Enforcing `codecForTr` to be utf8 does not work: https://github.com/baoboa/pyqt5/blob/31ef42563dbcaf3885da8803e2e5d84507141c9b/pylupdate/pylupdate_main.py#L231 As the output is hardcoded as ASCII in https://github.com/baoboa/pyqt5/blob/31ef42563dbcaf3885da8803e2e5d84507141c9b/pylupdate/metatranslator.cpp#L435
😢 |
Unfortunately not, because the characters are encoded byte by byte, not char by char.
|
what about creating a .pro? |
Fake news up there, actually it works, but because of |
How far did you go with migration of pylupdate to qgis-plugin-ci? |
I am testing opengisch/qgis-plugin-ci#18 and if all good, then I will revert the changes here. |
…the .pro workaround
Just to unblock the change to go further, temporary use the mask as obsolete method https://doc.qt.io/qt-5/qobject-obsolete.html#trUtf8 When the |
pylupdate5 hardcodes the output to ascii symbols, therefore any unicode is XML encoded and cannot be reverted to the original state.
Enforcing
codecForTr
to be utf8 does not work:https://github.com/baoboa/pyqt5/blob/31ef42563dbcaf3885da8803e2e5d84507141c9b/pylupdate/pylupdate_main.py#L231
As the output is hardcoded as ASCII in
https://github.com/baoboa/pyqt5/blob/31ef42563dbcaf3885da8803e2e5d84507141c9b/pylupdate/metatranslator.cpp#L435