From c016ed8ba9545363dceab070d01b535f9a0b427e Mon Sep 17 00:00:00 2001 From: Dark_Phoenix_ <92178883+0DarkPhoenix@users.noreply.github.com> Date: Sun, 18 May 2025 21:12:34 +0200 Subject: [PATCH] Added clarification to comment --- src/tools/unicode-search/unicode-search.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/unicode-search/unicode-search.vue b/src/tools/unicode-search/unicode-search.vue index 02ca5aec..ee0d182a 100644 --- a/src/tools/unicode-search/unicode-search.vue +++ b/src/tools/unicode-search/unicode-search.vue @@ -13,7 +13,7 @@ function toPaddedHex(num: number) { function toUTF8(codePoint: number) { const utf8String = utf8.encode(String.fromCodePoint(codePoint)); const bytes = [...utf8String].map(c => `\\x${c.codePointAt(0)?.toString(16).toUpperCase()}`); - return bytes.join(''); // Join the array into a single string + return bytes.join(''); // Join the string array into a single string to fix a bug where it would otherwise join the array items with a comma } const searchQuery = useDebouncedRef('', 250);