Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JLeSZ-0006Fh-L0 for mharc-grub-devel@gnu.org; Sun, 03 Feb 2008 08:00:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLeSX-0006E4-CV for grub-devel@gnu.org; Sun, 03 Feb 2008 08:00:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLeSV-0006CZ-4Y for grub-devel@gnu.org; Sun, 03 Feb 2008 08:00:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLeST-0006Bo-Hn for grub-devel@gnu.org; Sun, 03 Feb 2008 08:00:29 -0500 Received: from wa-out-1112.google.com ([209.85.146.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLeST-000183-4Z for grub-devel@gnu.org; Sun, 03 Feb 2008 08:00:29 -0500 Received: by wa-out-1112.google.com with SMTP id k34so1724755wah.10 for ; Sun, 03 Feb 2008 05:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=LfJrdc6ib3DElV3K0O+gpAGVJc/sgdPtEc6gk17B1hg=; b=DgeFO96uf54e3lYmAd6pHHYBm3Y5oxhKFJirn20/ZCAWg5a68kLANieWLAC0UYcGuS1OAScTVXQwEsWnYhkXpQiAbjsJi2jxfrfoG4uqb72+XqER7g2jy5XAz8syAxS5JkThKGd3bKSdyYbQI/iGcKt4363S6Gu3NHDRr5B1SeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Ub6ys4pp7qnX6LLyy00jhQMJo6n4TFXQmxLJ92RsVgTGJlNQ41lW35qqExWzlwkASEX/5hRqkauxNbs3HAv9+KiTvUChy4EAuEht/dpfHY3uR8UpAiXG9u3p88ct5xBIDxWxCTFWjDVYrFJjRgXF96XH6A8B3QuOx81yPlqL+4E= Received: by 10.114.149.2 with SMTP id w2mr5772647wad.5.1202043627389; Sun, 03 Feb 2008 05:00:27 -0800 (PST) Received: by 10.114.255.15 with HTTP; Sun, 3 Feb 2008 05:00:27 -0800 (PST) Message-ID: <94a0ccbc0802030500j457c125ay36c9160eaf88a8d2@mail.gmail.com> Date: Sun, 3 Feb 2008 13:00:27 +0000 From: "Oleg Strikov" To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2948_28654897.1202043627384" X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: grub_cmdline_get() i18n problem X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 13:00:33 -0000 ------=_Part_2948_28654897.1202043627384 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > PROMPT is always in ASCII. This was my assumption. Is it bad? > > Okuji > Possibly, it is not so bad, but unexpectedly. It seems (e.g. to me) that grub_cmdline_get() simply makes grub_printf() call (without any `byte length` restrictions). Furthermore, if user wanna make `i18n prompt request` in his native language module we incline him to use separate grub_printf() & grub_cmdline_get("" - prompt) calls. ------=_Part_2948_28654897.1202043627384 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
PROMPT is always in ASCII. This was my assumption. Is it bad?

Okuji

Possibly, it is not so bad, but unexpectedly.
It seems (e.g. to me) that grub_cmdline_get() simply makes grub_printf() call (without any `byte length` restrictions).

Furthermore, if user wanna make `i18n prompt request` in his native language module we incline him to use separate grub_printf() & grub_cmdline_get("" - prompt) calls.
------=_Part_2948_28654897.1202043627384--