From f00374b7929639fe8387dad661ba12271af17432 Mon Sep 17 00:00:00 2001 From: garry00107 Date: Sat, 15 Nov 2025 18:56:06 +0530 Subject: [PATCH] file: Use Unicode quotation marks for audio metadata titles Remove outdated FIXME and use proper Unicode quotation marks instead of ASCII quotes for audio file title metadata. SerenityOS terminal fonts now support these characters. --- Userland/Utilities/file.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Utilities/file.cpp b/Userland/Utilities/file.cpp index f2442c5db0f8f0..d68187d040c988 100644 --- a/Userland/Utilities/file.cpp +++ b/Userland/Utilities/file.cpp @@ -69,8 +69,7 @@ static ErrorOr> audio_details(StringView description, StringVie auto metadata = loader->metadata(); Vector metadata_parts; if (metadata.title.has_value()) { - // FIXME: Use “pretty quotation” once our terminal fonts support these characters. - if (auto title_text = String::formatted("\"{}\"", metadata.title.value_or({})); !title_text.is_error()) { + if (auto title_text = String::formatted(""{}""sv, metadata.title.value_or({})); !title_text.is_error()) { // We intentionally discard the error, because not printing part of the metadata due to OOM is not a problem. (void)metadata_parts.try_append(title_text.release_value()); }