all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: To get Unicode file (UTF8) with a leading byte-order-marker characters?
Date: Fri, 11 Jun 2010 23:56:41 -0600	[thread overview]
Message-ID: <huv7io$m92$1@dough.gmane.org> (raw)
In-Reply-To: <87fx0t8ew9.fsf@debian-laptop.localdomain>

Paul Chany wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>>> From: Paul Chany <csanyipal@gmail.com>
>>>
>>> The file should be ASCII (using \U escapes for unicode characters) or
>>> Unicode (UTF16 or UTF8) with a leading byte-order-marker.
>>>
>>> How can I get this file using Emacs?
>> C-x RET f utf-8-with-signature RET
> 
> Well, when I did so I get the following message:
> 
> <NSException: 0x9f91dd0> NAME:NSGenericException REASON:Parse failed at
> line 2 (char 41) - unexpected character (wanted ';') INFO:(nil)
> 
> and the translation don't works. :(
> What's wrong with it?
> 
> I attach the file here (it's small):

I saved the file and visited it in Emacs 23.2.1 (i386-apple-darwin8.11.1, NS 
apple-appkit-824.48), and no errors or warnings were reported.

`C-h C RET' displays:

Coding system for saving this buffer:
   U -- utf-8-with-signature-unix

...

and with the cursor over character 41 (the second character on line 2),
`C-u C-x =' displays:

         character: ó (243, #o363, #xf3)
preferred charset: unicode (Unicode (ISO10646))
        code point: 0xF3
            syntax: w 	which means: word
          category: .:Base, c:Chinese, j:Japanese, l:Latin, v:Viet
       buffer code: #xC3 #xB3
         file code: #xEF #xBB #xBF #xC3 #xB3
		   (encoded by coding system utf-8-with-signature-unix)
           display: by this font (glyph code)
     nil:-apple-Monaco-medium-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x79)

Character code properties: customize what to show
   name: LATIN SMALL LETTER O WITH ACUTE
   old-name: LATIN SMALL LETTER O ACUTE
   general-category: Ll (Letter, Lowercase)
   decomposition: (111 769) ('o' '́')

-- 
Kevin Rodgers
Denver, Colorado, USA




  reply	other threads:[~2010-06-12  5:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 15:26 To get Unicode file (UTF8) with a leading byte-order-marker characters? Paul Chany
2010-06-08 23:02 ` Eli Zaretskii
2010-06-11 20:59   ` Paul Chany
2010-06-12  5:56     ` Kevin Rodgers [this message]
2010-06-12 11:24     ` Eli Zaretskii
2010-06-12 11:49       ` Paul Chany
2010-06-13  4:55 ` tomas
2010-06-13  8:14   ` Paul Chany
2010-06-14 12:17     ` Paul Chany
     [not found] ` <mailman.2.1276404928.6139.help-gnu-emacs@gnu.org>
     [not found]   ` <slrni1e3u2.n7i.nospam-abuse@powdermilk.math.berkeley.edu>
2010-06-15 13:56     ` Jason Rumney
     [not found]       ` <slrni1gaut.q6l.nospam-abuse@powdermilk.math.berkeley.edu>
     [not found]         ` <pco39wn85iv.fsf@math.ntnu.no>
2010-06-16 14:10           ` Jason Rumney
     [not found] <mailman.3.1276010799.23544.help-gnu-emacs@gnu.org>
2010-06-08 17:38 ` Pascal J. Bourguignon

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='huv7io$m92$1@dough.gmane.org' \
    --to=kevin.d.rodgers@gmail.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.