From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Chany Newsgroups: gmane.emacs.help Subject: Re: To get Unicode file (UTF8) with a leading byte-order-marker characters? Date: Fri, 11 Jun 2010 22:59:02 +0200 Message-ID: <87fx0t8ew9.fsf@debian-laptop.localdomain> References: <878w6p4kbm.fsf@debian-laptop.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1276290000 13790 80.91.229.12 (11 Jun 2010 21:00:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Jun 2010 21:00:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 11 22:59:59 2010 connect(): No such file or directory 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 1ONBKY-0002zx-CX for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jun 2010 22:59:58 +0200 Original-Received: from localhost ([127.0.0.1]:56217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONBKX-0002fy-Nk for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jun 2010 16:59:57 -0400 Original-Received: from [140.186.70.92] (port=36018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONBJv-0002dF-1s for help-gnu-emacs@gnu.org; Fri, 11 Jun 2010 16:59:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONBJt-0005vA-N9 for help-gnu-emacs@gnu.org; Fri, 11 Jun 2010 16:59:18 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56559) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONBJt-0005uj-Hm for help-gnu-emacs@gnu.org; Fri, 11 Jun 2010 16:59:17 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ONBJo-0002eN-Uv for help-gnu-emacs@gnu.org; Fri, 11 Jun 2010 22:59:12 +0200 Original-Received: from 10-142-85-95.dynamic.stcable.net ([95.85.142.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2010 22:59:12 +0200 Original-Received: from csanyipal by 10-142-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2010 22:59:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 10-142-85-95.dynamic.stcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:5+mzd05DG+IQ+5/0odY82mzkrHc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:73871 Archived-At: --=-=-= Eli Zaretskii writes: >> From: Paul Chany >> >> 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: 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): --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=Ablak.strings Content-Transfer-Encoding: base64 Content-Description: Ablak.strings 77u/IkFibGFrb3QgYmV6w6FyIiA9ICJaYXR2YXJhIGFwbGlrYWNpanUiCiJKw7MgbmFwb3Qga8Ot dsOhbm9rISIgPSAiRG9iYXIgZGFuIMW+ZWxpbSEi --=-=-= -- Regards, Paul Chany You can freely correct my English. http://csanyi-pal.info --=-=-=--