* Convert UTF-8 string to hex
@ 2010-02-28 13:29 白い熊
2010-02-28 22:04 ` 白い熊
0 siblings, 1 reply; 7+ messages in thread
From: 白い熊 @ 2010-02-28 13:29 UTC (permalink / raw)
To: help-gnu-emacs
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.
--
C уважением / 宜しく御願い致します / Best regards / S pozdravem / Z poważaniem / Mit freundlichen Grüßen
白い熊
^ permalink raw reply [flat|nested] 7+ messages in thread
* Convert UTF-8 string to hex
2010-02-28 13:29 Convert UTF-8 string to hex 白い熊
@ 2010-02-28 22:04 ` 白い熊
2010-03-01 13:33 ` Steve Revilak
0 siblings, 1 reply; 7+ messages in thread
From: 白い熊 @ 2010-02-28 22:04 UTC (permalink / raw)
To: help-gnu-emacs
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.
--
C уважением / 宜しく御願い致します / Best regards / S pozdravem / Z poważaniem / Mit freundlichen Grüßen
白い熊
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Convert UTF-8 string to hex
2010-02-28 22:04 ` 白い熊
@ 2010-03-01 13:33 ` Steve Revilak
2010-03-01 13:44 ` 白い熊
0 siblings, 1 reply; 7+ messages in thread
From: Steve Revilak @ 2010-03-01 13:33 UTC (permalink / raw)
To: help-gnu-emacs
[-- 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 --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Convert UTF-8 string to hex
2010-03-01 13:33 ` Steve Revilak
@ 2010-03-01 13:44 ` 白い熊
2010-03-03 14:53 ` Geralt
0 siblings, 1 reply; 7+ messages in thread
From: 白い熊 @ 2010-03-01 13:44 UTC (permalink / raw)
To: help-gnu-emacs
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
白い熊
^ permalink raw reply [flat|nested] 7+ messages in thread
* Convert UTF-8 string to hex
@ 2010-02-28 17:49 白い熊
0 siblings, 0 replies; 7+ messages in thread
From: 白い熊 @ 2010-02-28 17:49 UTC (permalink / raw)
To: help-gnu-emacs
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.
--
C уважением / 宜しく御願い致します / Best regards / S pozdravem / Z poważaniem / Mit freundlichen Grüßen
白い熊
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-03-03 15:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` 白い熊
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 白い熊
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).