From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Tx3Yw-0007s2-16 for mharc-grub-devel@gnu.org; Sun, 20 Jan 2013 17:40:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx3Ys-0007rj-GC for grub-devel@gnu.org; Sun, 20 Jan 2013 17:40:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tx3Yr-0004Vq-2V for grub-devel@gnu.org; Sun, 20 Jan 2013 17:40:22 -0500 Received: from mail-ea0-f171.google.com ([209.85.215.171]:49450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx3Yq-0004VN-P5 for grub-devel@gnu.org; Sun, 20 Jan 2013 17:40:20 -0500 Received: by mail-ea0-f171.google.com with SMTP id c13so1547170eaa.30 for ; Sun, 20 Jan 2013 14:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=m/0BxNxFgxO9UxIcgmRumrZoKBXgV8O0mJ/N5AOHb+A=; b=xcNzMCHp6coiOgDVLmj4YUfESmsAgpFXDhcXIkyCLgcodkxAvTmK0QbSFHZQgzTiJJ K2eFmCNALyysQxFhY4hQ5sFBFS0Mi8nCG8mK60rJnX5Zpgtv6gweF9uUSTmq4aKowRk2 9fqs8mcY3/cxk1/VnrWB2KCtgM8rqG3YhKF+z7oy9rmxgQk2UT287NyXotiksLzPH6zT j73gKS6gO6F0DlqaHkMoACywU2vIi7onhqTs8iwqkZVpNtNBjZTQrD22AxYYoNYy0OJi ZaFOvALC4/D/TKK7rZi2OwdV35Ggu7CXxht3T1a7M205ruDWDN/2btqaEbwjhuPcbCxt oItA== X-Received: by 10.14.224.8 with SMTP id w8mr47459414eep.18.1358721619048; Sun, 20 Jan 2013 14:40:19 -0800 (PST) Received: from debian.x201.phnet (90-165.78-83.cust.bluewin.ch. [83.78.165.90]) by mx.google.com with ESMTPS id t44sm19539499eeo.2.2013.01.20.14.40.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 20 Jan 2013 14:40:17 -0800 (PST) Message-ID: <50FC724F.1060602@gmail.com> Date: Sun, 20 Jan 2013 23:40:15 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Does plain pc console support UNICODE? References: <1349370553.2182.9.camel@opensuse.site> In-Reply-To: <1349370553.2182.9.camel@opensuse.site> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig801B25BB69456C8F1D907DC4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.171 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 22:40:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig801B25BB69456C8F1D907DC4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04.10.2012 19:09, Andrey Borzenkov wrote: > I have default language Russian. When testing patch I switched from > gfxterm to plain console and got '????' instead of grub messages. Is it= > supposed to work at all? If not, does it make sense to temporary reset > language when we switch to terminal that is known to not support > UNICODE? >=20 Normal BIOS console supports only CP437. The fix for this would go throug= h: 1) Possible use of vga_text instead of BIOS services and enhance it with font-loading code to dynamically load characters we need. But this is already more than just a simple console and requires to load e.g. unifont. Currently BIOS services and vga_text are used for their simplicity and compactness. Perhaps vga_text would need to be split to vga_text and vga_text_font the latter being a separate module and vga_text calling vga_text_font only if it's loaded. 2) Another possibility is to translate the unrepresentable characters to their nearest ASCII equivalent. The problem is that this is somewhat language-dependent. E.g. a German-speaking person would replace =C3=B6 wi= th oe but a Finnish would probably just drop the diaresis. > -andrey >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig801B25BB69456C8F1D907DC4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlD8ck8ACgkQNak7dOguQgnazQEAwdoauXi+MZVbXF63XL+DwKZh PVij/9+dQ67h2AMxa3AA/1uOK+6rNk3afaHEOU6QbD74BUhE9cBbTjgR5UTFRXRA =XF4e -----END PGP SIGNATURE----- --------------enig801B25BB69456C8F1D907DC4--