From 1b76f83e3b3ef97a71b57cbc1cdf39ec14a10051 Mon Sep 17 00:00:00 2001 From: byun Date: Sun, 29 Mar 2026 18:43:01 +0000 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EB=A6=AC=EC=96=BC=20=ED=95=9C?= =?UTF-8?q?=EA=B8=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- serial_task.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/serial_task.cpp b/serial_task.cpp index 494aec4..9401dc6 100644 --- a/serial_task.cpp +++ b/serial_task.cpp @@ -198,8 +198,9 @@ void serialRxTask(void *param) { if (linePos > 0) flushLineToQueues(lineBuf, linePos); continue; } - // Only accept printable ASCII (0x20~0x7E) and TAB (0x09) - if ((c >= 0x20 && c <= 0x7E) || c == '\t') { + // Accept printable ASCII + UTF-8 multibyte (한글 등) + // Skip only control chars (0x00~0x1F) except TAB + if (c >= 0x20 || c == '\t') { lineBuf[linePos++] = c; } }