Skip to content

Commit 3eecf16

Browse files
committed
fixed compiler error "unmappable character for encoding UTF8" (on Travis CI)
1 parent 162e622 commit 3eecf16

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/markdownwriterfx/util/Utils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ public static void fixSpaceAfterDeadKey(Scene scene) {
155155
public void handle(KeyEvent e) {
156156
String character = e.getCharacter();
157157
if(" ".equals(character) &&
158-
("´".equals(lastCharacter) ||
159-
"`".equals(lastCharacter) ||
160-
"^".equals(lastCharacter)))
158+
("\u00B4".equals(lastCharacter) || // Acute accent
159+
"`".equals(lastCharacter) || // Grave accent
160+
"^".equals(lastCharacter))) // Circumflex accent
161161
{
162162
// avoid that the space character is inserted
163163
e.consume();

0 commit comments

Comments
 (0)