From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.67812.1679563144351740659 for ; Thu, 23 Mar 2023 02:19:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NNlJLCcQ; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 69EA76252F for ; Thu, 23 Mar 2023 09:19:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD37EC433D2 for ; Thu, 23 Mar 2023 09:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563142; bh=rATgcGa1d6eMwYOxibntiec39nizaDYN0WnYrjb0pHA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NNlJLCcQ8qs5ouKTclt/jLPrnwjgHQPDzPgaZ9BVQ0ZW/reT1ytJAai6KA2FeKlRH pZBfkAyofRZP7bJE7eLaFjniMP1BxnopbXOGJkp5yO619KYI062C9SApjuP48RfLgf 6qYmsjGHGl/bh4WjgOz4cy9dhHhGETBCMbFL1s+ZKyWP8nyNqGQ6FDh1wLmTzJg8dm Y0AnWez7qzehG+iG/3u5ZXCdSkhoqU5H8j3/a2LUl87rzrbCIkh9DH9qD2WnFQD2/A qxOv7ynmx5veQzygteciLM6NpOuV3BCOVA+/Z4OakBdtUkYNfXq0CHDJpLRDDkRz/F 74ep2WSTranNw== Received: by mail-lj1-f171.google.com with SMTP id e11so13019306lji.8 for ; Thu, 23 Mar 2023 02:19:02 -0700 (PDT) X-Gm-Message-State: AO0yUKVOd61apjqcUlRYyRSwy9zJfpbHMYiwlA+4FAZDM0g54P2lidgp rg1hNzsH8hVCv0in2p0MEet6/7WYnEPhqllIIzU= X-Google-Smtp-Source: AK7set+YdSCQMkqYdpmRfu63Qx0msqxUGZF3kH7O1maJ831H1xuIPmqvp8txk+vgTYoygwPlSoAJK9YYgIhh/bWnBQk= X-Received: by 2002:a2e:9d43:0:b0:29e:ba2a:3e09 with SMTP id y3-20020a2e9d43000000b0029eba2a3e09mr2912155ljj.2.1679563140835; Thu, 23 Mar 2023 02:19:00 -0700 (PDT) MIME-Version: 1.0 References: <20230317121921.219205-1-kraxel@redhat.com> <0bee93f9-ce4a-7731-ac0c-1d4100876ab2@bsdio.com> In-Reply-To: From: "Ard Biesheuvel" Date: Thu, 23 Mar 2023 10:18:49 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg/PlatformBootManagerLib: use utf8 for the serial console. To: Gerd Hoffmann Cc: Rebecca Cran , devel@edk2.groups.io, Pawel Polawski , Oliver Steffen , Jordan Justen , Jiewen Yao , Ard Biesheuvel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 23 Mar 2023 at 09:20, Gerd Hoffmann wrote: > > 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, u= se > > > > 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=C3=A7ais". > > 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. > Merged as #4164 - thanks