Conversation
2. added range check on the second byte. 3. do not set isNonBmpCharacter to true.
SlySven
left a comment
There was a problem hiding this comment.
This looks good to go. I trust that the whole thing is working now we reverted that other PR that broke things...
Realised that a further change was neeed - will reappove when that is done or agreed to be unnecessary
|
I have managed to make a connection to that MUD that you used and it seems to work, but will leave squashing and merging to @vadi2 depending on whether he wants to drop it into the next release or hold it to the one afterwards: Ah - there is one question that we need to address before merging and that is "what width setting should East Asian ambiguous width characters" be drawn with by default for this encoding - I would tend to think that it is likely to need to be "Wide" for this encoding but could you @pkerichang try setting the option to both the narrow (unchecked) and wide (checked) setting and tell us which the default (partially checked) setting should default to when "Big5" is selected? I think such characters need to be drawn as wide as by default so this encoding (besides GBK and GB18030) should use the wide setting - to do this can you edit the above tool-tip which is set in the by changing the line: to: If you can also change: to: that will also fix a typo that I have just spotted! 😀 To actually make the effect take place in code, go to OTOH If you do not think that this change is needed can you confirm this - then these changes will not be needed. In case you do not understand it I will point you to https://www.unicode.org/reports/tr11/tr11-35.html . |
|
Hello, I do think it is a good idea to change default width of ambiguous characters. I've committed the changes. |
|
@pkerichang would it be OK for this to wait for the next release (in a month or sooner)? We're releasing tomorrow and are in the new features freeze now. |
|
I'm fine with that. Thanks for letting me know. |
|
@pkerichang it actually made it into 3.11.1, fyi |
# By Vadim Peretokin (81) and others * development: (162 commits) BugFix: set Server Encoding correctly on auto-loading profiles Install xz-utils to guarantee xz is available Create and upload source tarballs on release BugFix: use Alternative OpenSSLBinary for Windows (Mudlet#1850) Fix auto-save kicking in and blocking save profile as Upgrade a few classes to newer Qt connect style (Mudlet#1846) Fix package exporter to work with async save (Mudlet#1832) Pulled out actions into a mudlet member class variables (Mudlet#1839) Create module zip if it's not already created when syncing (Mudlet#1842) i18n-ise GUI label creation (Mudlet#1838) Align "no map"message in centre propely (Mudlet#1837) New Crowdin translations (Mudlet#1756) Delete old version checks (Mudlet#1833) Re-set dev. 3.11.1 bugfix release. Fix iterator to actually iterate BugFix: fix faulty log options for new profiles or old profile save files Big5 support (Mudlet#1808) BugFix: include a fail-back icon for the auto-saved profile in Con. Dialog Back to development we go! ... Conflicts resolved in: * src/TTextEdit.cpp * src/TTextEdit.h Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
# By Vadim Peretokin (24) and others # Via keneanung * development: (52 commits) Install xz-utils to guarantee xz is available Create and upload source tarballs on release BugFix: use Alternative OpenSSLBinary for Windows (Mudlet#1850) Fix auto-save kicking in and blocking save profile as Upgrade a few classes to newer Qt connect style (Mudlet#1846) Fix package exporter to work with async save (Mudlet#1832) Pulled out actions into a mudlet member class variables (Mudlet#1839) Create module zip if it's not already created when syncing (Mudlet#1842) i18n-ise GUI label creation (Mudlet#1838) Align "no map"message in centre propely (Mudlet#1837) New Crowdin translations (Mudlet#1756) Delete old version checks (Mudlet#1833) Re-set dev. 3.11.1 bugfix release. Fix iterator to actually iterate BugFix: fix faulty log options for new profiles or old profile save files Big5 support (Mudlet#1808) BugFix: include a fail-back icon for the auto-saved profile in Con. Dialog Back to development we go! 3.11.0 release ... Conflicts resolved in: * src/dlgProfilePreferences.cpp * src/mudlet.qrc Signed-off-by: Stephen Lyons <slysven@virginmedia.com>


Brief overview of PR changes/additions
This is a re-submit of the big5 encoding support pull request, with a more descriptive branch name.