From 8cd5cd936605d2221316f640b7f4838a6bb046b0 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Sat, 3 Feb 2024 19:41:03 +0100 Subject: [PATCH] Use the 'dot' utf-8 encoded value instead of the char directly Compilation was broken on latest Debian Sid (gcc-13) complaining about unmappable character (0xE2) for encoding US-ASCII. The commit change the utf-8 dot char by its encoded representation \u2022. Signed-off-by: Jose Luis Rivero --- lcm-java/lcm/logging/LogPlayer.java | 2 +- lcm-java/lcm/spy/Spy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lcm-java/lcm/logging/LogPlayer.java b/lcm-java/lcm/logging/LogPlayer.java index c3b6c6273..1cabec93a 100644 --- a/lcm-java/lcm/logging/LogPlayer.java +++ b/lcm-java/lcm/logging/LogPlayer.java @@ -1120,7 +1120,7 @@ public void windowClosing(WindowEvent e) { } { - String spacer = " • "; + String spacer = " \u2022 "; String filename = p.logName.getText(); String title = "LogPlayer"; diff --git a/lcm-java/lcm/spy/Spy.java b/lcm-java/lcm/spy/Spy.java index e3a6a7ed4..143cdaf88 100644 --- a/lcm-java/lcm/spy/Spy.java +++ b/lcm-java/lcm/spy/Spy.java @@ -38,7 +38,7 @@ public Spy(String lcmurl, WindowTitleOptions titleOptions) throws IOException } String title = "LCM Spy"; { - String spacer = " • "; + String spacer = " \u2022 "; if (null != titleOptions.label) { title += spacer + titleOptions.label; }