From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?55m944GE54aK?= Newsgroups: gmane.emacs.help Subject: Re: Convert UTF-8 string to hex Date: Mon, 01 Mar 2010 16:44:17 +0300 Message-ID: <877hpwqhqm.fsf@porzhiz.org> References: <20100301133358.GA17730@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1267539430 12713 80.91.229.12 (2 Mar 2010 14:17:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 14:17:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 02 15:17:04 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NmSuA-00025z-Dj for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 15:16:58 +0100 Original-Received: from localhost ([127.0.0.1]:47491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmSu9-0005fM-R4 for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 09:16:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nm5v5-0008Ag-9C for help-gnu-emacs@gnu.org; Mon, 01 Mar 2010 08:44:23 -0500 Original-Received: from [140.186.70.92] (port=35810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nm5v4-000893-FR for help-gnu-emacs@gnu.org; Mon, 01 Mar 2010 08:44:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nm5v3-0001mK-Kw for help-gnu-emacs@gnu.org; Mon, 01 Mar 2010 08:44:22 -0500 Original-Received: from deleuze.hcoop.net ([69.90.123.67]:43733) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm5v3-0001mF-HM for help-gnu-emacs@gnu.org; Mon, 01 Mar 2010 08:44:21 -0500 Original-Received: from [195.239.33.7] (helo=mbp52) by deleuze.hcoop.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Nm5v2-0001X3-Ss for help-gnu-emacs@gnu.org; Mon, 01 Mar 2010 08:44:21 -0500 In-Reply-To: <20100301133358.GA17730@srevilak.net> (Steve Revilak's message of "Mon, 1 Mar 2010 08:33:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Mailman-Approved-At: Tue, 02 Mar 2010 09:16:12 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72307 Archived-At: Steve Revilak 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... --=20 C =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC / =E5=AE=9C=E3=81= =97=E3=81=8F=E5=BE=A1=E9=A1=98=E3=81=84=E8=87=B4=E3=81=97=E3=81=BE=E3=81=99= / Best regards / S pozdravem / Z powa=C5=BCaniem / Mit freundlichen Gr=C3= =BC=C3=9Fen =E7=99=BD=E3=81=84=E7=86=8A