all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve Revilak <steve@srevilak.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Convert UTF-8 string to hex
Date: Mon, 1 Mar 2010 08:33:58 -0500	[thread overview]
Message-ID: <20100301133358.GA17730@srevilak.net> (raw)
In-Reply-To: <20100228220341.M79078@porzhiz.org>

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

>From: " ??? "	<help-gnu-emacs_gnu.org@sumou.com>

>How do I convert an arbitrary UTF-8 string to hex in GNU Emacs?
>
>I'm looking for the Emacs equivalent of `uni2ascii -p' basically, can't
>figure it out.

I'm not familiar with uni2ascii, and I don't have it installed on any
of my systems.

If you're looking for a hex representation of a string, you might try
M-x hexl-mode.  hexl-mode shows a hex representation of the current
buffer.  If your buffer contains a utf-8 string, then you'll see a hex
representation of that string.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-03-01 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-28 13:29 Convert UTF-8 string to hex 白い熊
2010-02-28 22:04 ` 白い熊
2010-03-01 13:33   ` Steve Revilak [this message]
2010-03-01 13:44     ` 白い熊
2010-03-03 14:53       ` Geralt
2010-03-03 15:05         ` 白い熊
  -- strict thread matches above, loose matches on Subject: below --
2010-02-28 17:49 白い熊

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100301133358.GA17730@srevilak.net \
    --to=steve@srevilak.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.