From 4a454db0dcd1130fd236e7494f310e2c0d16f159 Mon Sep 17 00:00:00 2001 From: hskwon Date: Mon, 1 Dec 2025 10:43:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=20=EC=B2=AB=20=EA=B8=80=EC=9E=90=20=ED=95=9C=EA=B8=80?= =?UTF-8?q?=20=EA=B9=A8=EC=A7=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - substr() → mb_substr()로 변경하여 멀티바이트 문자 지원 - strtoupper() → mb_strtoupper()로 변경 - 헤더, 사이드바 사용자 아바타에 적용 --- resources/views/partials/header.blade.php | 2 +- resources/views/partials/sidebar.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/header.blade.php b/resources/views/partials/header.blade.php index b8825368..e0fb8934 100644 --- a/resources/views/partials/header.blade.php +++ b/resources/views/partials/header.blade.php @@ -70,7 +70,7 @@ class="border-gray-300 rounded-lg text-sm focus:ring-primary focus:border-primar class="flex items-center gap-2 px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-100 rounded-lg focus:outline-none" >
- {{ strtoupper(substr(auth()->user()->name ?? 'U', 0, 1)) }} + {{ mb_strtoupper(mb_substr(auth()->user()->name ?? 'U', 0, 1)) }}
diff --git a/resources/views/partials/sidebar.blade.php b/resources/views/partials/sidebar.blade.php index d3b923f4..72cfbdbd 100644 --- a/resources/views/partials/sidebar.blade.php +++ b/resources/views/partials/sidebar.blade.php @@ -331,7 +331,7 @@ class="flex items-center gap-2 pr-3 py-2 rounded-lg text-sm text-gray-700 hover:
- {{ strtoupper(substr(auth()->user()->name ?? 'U', 0, 1)) }} + {{ mb_strtoupper(mb_substr(auth()->user()->name ?? 'U', 0, 1)) }}