help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To get Unicode file (UTF8) with a leading byte-order-marker characte


From: Eli Zaretskii
Subject: Re: To get Unicode file (UTF8) with a leading byte-order-marker characters?
Date: Sat, 12 Jun 2010 14:24:12 +0300

> From: Paul Chany <csanyipal@gmail.com>
> Date: Fri, 11 Jun 2010 22:59:02 +0200
> 
> 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?

What did you do exactly?  Can you show a precise recipe starting with
"emacs -Q" that causes this problem?

FWIW, if I save the file you sent and then type

   C-x RET c utf-8-with-signature RET C-x C-f Ablak.strings RET

I get the file in the buffer without any problems.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]