You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0x7F-0xFF should also be encoded, even if it is in the encoding range of ISO8859-1, otherwise sometimes the editor uses ASCII or utf-8 decoding to cause garbled characters
0x7F-0xFF should also be encoded, even if it is in the encoding range of ISO8859-1, otherwise sometimes the editor uses ASCII or utf-8 decoding to cause garbled characters
I can understand that it can be a nuisance dealing with those characters in an editor, but I'm not sure I want to make that change. It might make your life easier but for a large percentage of the world who use ISO8859-1 suddenly their files would change when loading and then saving again. I don't think that's acceptable. It would also change the behaviour of org.codejive.properties.Properties with respect to java.util.Properties.
Activity
wilinz commentedon Jul 28, 2022
I've opened a new pull request, can you see?
wilinz commentedon Jul 28, 2022
Here is my solution
wilinz commentedon Jul 28, 2022
0x7F-0xFF should also be encoded, even if it is in the encoding range of ISO8859-1, otherwise sometimes the editor uses ASCII or utf-8 decoding to cause garbled characters
fix: now properly generating hex escape sequences
quintesse commentedon Jul 28, 2022
I can understand that it can be a nuisance dealing with those characters in an editor, but I'm not sure I want to make that change. It might make your life easier but for a large percentage of the world who use ISO8859-1 suddenly their files would change when loading and then saving again. I don't think that's acceptable. It would also change the behaviour of
org.codejive.properties.Propertieswith respect tojava.util.Properties.fix: now properly generating hex escape sequences
quintesse commentedon Jul 28, 2022
Ok, so I merged a PR that fixes the issue of not having 4 hex digits... but.... I'm rethinking how to handle UTF8.