From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Convert the hexadecimal character code to the corresponding Unicode value. Date: Fri, 1 Oct 2021 18:27:16 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15527"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 01 12:28:14 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWFm2-0003mQ-L0 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Oct 2021 12:28:14 +0200 Original-Received: from localhost ([::1]:58412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWFm1-0006ZO-K7 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Oct 2021 06:28:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWFlK-0006VV-Nc for help-gnu-emacs@gnu.org; Fri, 01 Oct 2021 06:27:31 -0400 Original-Received: from mail-vs1-xe2f.google.com ([2607:f8b0:4864:20::e2f]:43774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWFlJ-0001sJ-07 for help-gnu-emacs@gnu.org; Fri, 01 Oct 2021 06:27:30 -0400 Original-Received: by mail-vs1-xe2f.google.com with SMTP id n17so10699680vsr.10 for ; Fri, 01 Oct 2021 03:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Sf81QmcrE14MKuzDGwsgkHkhDhvjbZowGDzA7fyd/aA=; b=jbqCBu4h8VA+UEapiO0z5+b3+BIzaVZVcto4yyVl8wTTUU8cezINsRZ3zcvC4XeWjn 7gX6mk1sNmtg51hyM2umoCBQoQ3n6npUmf6JDtRbML05uBkBIwZmpCVs/9U3ISYmvp8X 9WYwtD00WQnm2rNxiqtd7oJYffzLzStNa4vBD8jyfnA3hVaYWjb4xHpPhSZatTpWxk0X smygYB3y6NIY1Pwyq1y5LNoHIFgq4eJzZFgA3WbVKylZJAxwCt1BT7/SSAufS4y2UuKh WMz4PbTY0sueM5J86MEp6DVT18/SQ7agEo2dY4WgDuwMD0Mr04iCYedtptflC5vLwKMP FuRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Sf81QmcrE14MKuzDGwsgkHkhDhvjbZowGDzA7fyd/aA=; b=wILB0uons93d8griIYwjhNTThhD+Rv6S7Hk/FckusIs8o83/JIo4iiYoJ5KxyT6ko1 huPtOW6fT2aK8olCvTFXBcn0FvYUsjNGDye8+0BNNWI3fblpeNDCSCa8O2I9bGmgyqec l6G/C10DOZA6TU6p+uTvoJ5/k4ijK2U5OPEOe4/5p9QHHfyVlOJcA1M21jS3PaEW6dhQ L/SpgJpONyUnOy9et3bXa5nIh7sbDQ+jGqbbMJ3WpHQQQQhTbe1RXnqylcHxNLeViUmB mzio2/eQTIDC9L0wrxHrjMePY/F2OA/KkEcN4KveF3S2mvMSjcq5MhiNPw693sHCBnV1 q3Kg== X-Gm-Message-State: AOAM531ygtW/MIlihEiEnh0eRK7gmeHBI0c/gCDMWJEnIYQPKyAuyGwi myGiWg0cjhoNNxTZUIe7dFU1UfI5wLaLC84OCo1ndLVSucksfXQN X-Google-Smtp-Source: ABdhPJw+FSGLmXCZyqTKNn0ChlikDljhhUhccMnGNAionIaglUROQdiBDJzPd2isZNN/kAex6WhTcfF7KhhUfDSvj7s= X-Received: by 2002:a67:edd7:: with SMTP id e23mr3031798vsp.14.1633084047685; Fri, 01 Oct 2021 03:27:27 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e2f; envelope-from=hongyi.zhao@gmail.com; helo=mail-vs1-xe2f.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133479 Archived-At: I noticed some comments on the escape syntax used by Emacs from here [1-2]. By default, the `describe-char' command will give the code point representation of the character in hexadecimal and octal formats, say, #o240, #xa0. So, I want to if there is a convenient way to do the conversion between the hexadecimal character code representation and the corresponding Unicode value. [1] http://ergoemacs.org/emacs/elisp_unicode_representation_in_string.html [2] (info "(elisp) General Escape Syntax") Regards, HZ