mirror of
https://github.com/gildur/SimplePropertiesEditor.git
synced 2026-03-31 07:17:09 +09:00
Encode using capital letters.
This commit is contained in:
@@ -113,7 +113,7 @@ public class PropertiesDocumentWrapper implements IDocument {
|
||||
for (int i = 0; i < content.length(); i++) {
|
||||
char c = content.charAt(i);
|
||||
if (asciiCharset.encode(String.valueOf(c)).equals(encodedUnknown)) {
|
||||
buffer.append(String.format("\\u%04x", (int) c));
|
||||
buffer.append(String.format("\\u%04X", (int) c));
|
||||
} else {
|
||||
buffer.append(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user