From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.67524.1679559617591581899 for ; Thu, 23 Mar 2023 01:20:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WLSZNN28; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679559616; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KRuaGKsYQzbfAFRCbTLkNsQBOi32v3/hqcfFL+8c9xA=; b=WLSZNN28YpeQJNqli2KBw3UI3McDp6MlnCayCqI7cCkO59D2SGEmx+6pGHWcWclWjxISky bKE2mpOi8n5sk1sx7Krs1oZ2Ucflr9tlGfh8QEqp2RQ8StX2mAzkqK6m3W7FyOju0Yenwf wG5JIWzlK5nsl6riRHZCeOVxR8wD8h4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-542-K7Ef89XGOkG5iWps4hV3BQ-1; Thu, 23 Mar 2023 04:20:12 -0400 X-MC-Unique: K7Ef89XGOkG5iWps4hV3BQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6529885C069; Thu, 23 Mar 2023 08:20:12 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.241]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F23740C6E67; Thu, 23 Mar 2023 08:20:12 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id E1F9C18000AA; Thu, 23 Mar 2023 09:20:10 +0100 (CET) Date: Thu, 23 Mar 2023 09:20:10 +0100 From: "Gerd Hoffmann" To: Rebecca Cran Cc: devel@edk2.groups.io, ardb@kernel.org, Pawel Polawski , Oliver Steffen , Jordan Justen , Jiewen Yao , Ard Biesheuvel Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg/PlatformBootManagerLib: use utf8 for the serial console. Message-ID: References: <20230317121921.219205-1-kraxel@redhat.com> <0bee93f9-ce4a-7731-ac0c-1d4100876ab2@bsdio.com> MIME-Version: 1.0 In-Reply-To: <0bee93f9-ce4a-7731-ac0c-1d4100876ab2@bsdio.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Mar 22, 2023 at 10:31:32AM -0600, Rebecca Cran wrote: > On 3/22/23 10:20 AM, Ard Biesheuvel wrote: > > On Fri, 17 Mar 2023 at 13:19, Gerd Hoffmann wrote: > > > Time to leave behind relics from the last century and arrive in the > > > modern world. Drop PC-ANSI Terminal Type for the serial console, use > > > UTF-8 instead. > > > > > > Signed-off-by: Gerd Hoffmann > > No objections here but how will I be able to observe the difference? > > I'm not sure if it's as simple as this or if it depends on the terminal, > TERM setting etc., It does. It depends on the locale the terminal application is running in. These days that is a utf-8 locale in 99% of the cases, i.e. "de_DE.UTF-8" for me. > but I saw a difference when I opened the UiApp and opened > the drop-down "Select Language". > > Before the patch, it showed "Fran?ais", and after, "Français". Yes, essentially everything which is not ascii shows correct now, including the line-drawing characters which you can see in alot of places in UiApp on the serial console. take care, Gerd