From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Freeman Gilmore Newsgroups: gmane.lisp.guile.user Subject: Re: Unicode numeric value Date: Sun, 16 Dec 2018 06:24:08 -0500 Message-ID: References: <87pnu199cm.fsf@netris.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1544959360 11787 195.159.176.226 (16 Dec 2018 11:22:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2018 11:22:40 +0000 (UTC) Cc: guile-user@gnu.org To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 16 12:22:35 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYUVH-0002xF-Eg for guile-user@m.gmane.org; Sun, 16 Dec 2018 12:22:35 +0100 Original-Received: from localhost ([::1]:41995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYUXN-00072r-Ld for guile-user@m.gmane.org; Sun, 16 Dec 2018 06:24:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYUX2-00072k-9y for guile-user@gnu.org; Sun, 16 Dec 2018 06:24:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYUWz-0002dm-Kw for guile-user@gnu.org; Sun, 16 Dec 2018 06:24:22 -0500 Original-Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:42575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYUWy-0002af-RS for guile-user@gnu.org; Sun, 16 Dec 2018 06:24:21 -0500 Original-Received: by mail-ot1-x335.google.com with SMTP id v23so9626608otk.9 for ; Sun, 16 Dec 2018 03:24:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7n7ktpRAIGWNiCZprBQ20NE1QhhqBSOkxl5P+92uE5I=; b=VCIm31lhi1x3Nlt8zI2m1YHs5nzXOPEh4JSHaNg8z3Hq7bflS3QTty70ImtHp0Nuvg Q990KS+NqgmgA8i55qfy76WGzDTTflkyfngaFYk5PnobYeEFPE7x/WzencnbSVBbWgvF R9rrJo2M01JQiwIMBP4s+HT156W4Gb6M9WJ6GUR0DIpmKfXM6B9/Fu66MlanlNNu/QA/ 2K+D1PWKsvBHXdyF0Xm+30oH2Mccm0hoChdgGtlI/T6zd1SuQDpLD4qlq+/A0WOUyNZC XaMkUdZdSdcUUxVBCGtc6DgXWjZaqHu0D9xM/jmUVIH1pjgTAEXuVeYjv8ez1ETRHjLu U22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7n7ktpRAIGWNiCZprBQ20NE1QhhqBSOkxl5P+92uE5I=; b=DnKb38CQnZlXknoywg31gGoRea2mx4udy3W5dR0OENkKnPe6/TALI1gLTBFH5Ftg70 E7CEbTsl4ZcBlsTuHzNq06tnyqmOAiA41gqvnhN9LkDTbR+xBAz4wC7P7T2abEYxT9EL aEPsZ9exCE4ozQLlhrea/DnsiIBARONqTXpXxvrrm2Jb71FBmT6rQC8R8dPJIKL4UzDe ZcnjW7N3XDlY3fVAILRDbgFlotdG9FXPBTpUQJM2HZxioSG4vXMWMQ3gI2KyHlXOmVzC e37ak9enkZYQswSmIogmwlVVDSPQmc6W5fCFrMsCgpLbkb9unsXQ9ICHWQ4PcuPzNdX9 SnVg== X-Gm-Message-State: AA+aEWaEKZ2CYAK9/i+U/mhBNEsVVoMp3zKqinMUV92oUY/GGDX2mokj lNJiUuZXpKLrpc55MDrNve0JLZFhVelWSmHGLry42zDQ X-Google-Smtp-Source: AFSGD/U3J0R2EI53b6oys+blNGh11DsUYbdKQ6ewZ98QrzWsNa3A9SBvtd+aSbgkthfUaT2RXu1g/YxIkckwFmbTzxk= X-Received: by 2002:a9d:3a46:: with SMTP id j64mr7278041otc.103.1544959459900; Sun, 16 Dec 2018 03:24:19 -0800 (PST) In-Reply-To: <87pnu199cm.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::335 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15100 Archived-At: On Sun, Dec 16, 2018 at 3:15 AM Mark H Weaver wrote: > Freeman Gilmore writes: > > > I am looking for a procedure that will read the numeric value, field 8, > of > > an Unicode numeric character. Has anyone written this procedure or know > > where I can find it? > > The 'r7rs-wip' branch of the Guile git repository contains a procedure > that does this, with a lookup table derived from Unicode 6.3.0. > > > https://git.savannah.gnu.org/cgit/guile.git/tree/module/scheme/char.scm?h=r7rs-wip > > The file is written as an R7RS library form, which won't work on current > releases of Guile, but for now you could simply extract the > 'digit-value' procedure from it, provided that you preserve the > copyright notice. > > Mark > Thank you Mark: That is only half the battle, let me explain. I do not want to read the standard Unicode table. I want to directly read field 8 of a numeric character in the privet use area of the Unicode. This is not part of scheme. The other half, I need to finger out how to put the numeric values in field 8 for the characters I want to use. Thank you,