all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 白い熊 <help-gnu-emacs_gnu.org@sumou.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Convert UTF-8 string to hex
Date: Mon, 01 Mar 2010 16:44:17 +0300	[thread overview]
Message-ID: <877hpwqhqm.fsf@porzhiz.org> (raw)
In-Reply-To: <20100301133358.GA17730@srevilak.net> (Steve Revilak's message of "Mon, 1 Mar 2010 08:33:58 -0500")

Steve Revilak <steve@srevilak.net> writes:
> 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.

Yeah, I'm looking exactly for that, however so that I can modify a
string in a part of elisp code.

I.e. I need to do what hexl-mode shows me if I inspect a string with it
manually, in order to convert the string in elisp code. That's what
uni2ascii does in shell.

Basically, I don't wanna look a some string manually and see it's hex
representation, I need to take it in a code, and pass its hex
representation as a string further on...
-- 
C уважением / 宜しく御願い致します / Best regards / S pozdravem / Z poważaniem / Mit freundlichen Grüßen

白い熊




  reply	other threads:[~2010-03-01 13:44 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
2010-03-01 13:44     ` 白い熊 [this message]
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=877hpwqhqm.fsf@porzhiz.org \
    --to=help-gnu-emacs_gnu.org@sumou.com \
    --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.