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: Mon, 14 Jun 2010 14:17:53 +0200 Message-ID: <87iq5l7qq6.fsf@debian-laptop.localdomain> References: <878w6p4kbm.fsf@debian-laptop.localdomain> <20100613045526.GB17796@tomas> <87vd9njq9z.fsf@debian-laptop.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276518175 3936 80.91.229.12 (14 Jun 2010 12:22:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 12:22:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 14 14:22:53 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 1OO8gl-0005AB-Ht for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jun 2010 14:22:51 +0200 Original-Received: from localhost ([127.0.0.1]:60905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8cq-0005zP-Pe for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jun 2010 08:18:48 -0400 Original-Received: from [140.186.70.92] (port=50259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8cG-0005qo-9b for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 08:18:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO8cE-0007hd-OA for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 08:18:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52184) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO8cE-0007h0-Ik for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 08:18:10 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OO8c8-00031b-8K for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 14:18:04 +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 ; Mon, 14 Jun 2010 14:18:04 +0200 Original-Received: from csanyipal by 10-142-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jun 2010 14:18:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 35 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:ZXS9hOkAfmgk+4REhHTW5nc8cwM= 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:73889 Archived-At: Paul Chany writes: > tomas@tuxteam.de writes: > >> On Tue, Jun 08, 2010 at 05:26:21PM +0200, Paul Chany wrote: >>> I'm using Emacs to program in Objective-C following a GNUstep >>> Tutorial. In the application that I made there is a resource file >>> for localisation (translation): Ablak.strings. >>> >>> The file should be ASCII (using \U escapes for unicode characters) >>> or Unicode (UTF16 or UTF8) with a leading byte-order-marker. >> >> Note that I have no clue about GNUstep, so I might be off by a big >> amount, but -- are you sure the system wants a leading byte order >> mark with UTF-8? (strictly speaking, it's unnecesary --rather >> slightly annoying-- on UTF-8. I always thought that in entered the >> Unicode consortium via Microsoft, who always likes to play this kind >> of shenanigans on us). > >> You might try without leading BOM? > > Naturally, I was tried without leading BOM, but get the same error > message. I get the solution! The .strings file is actually a C file so the lines must be ended with the ';' character. My .strings file has three lines and when I edited it so so at and of every lines wrote the ';' character, and compile the application, then the error message gone. -- Regards, Paul Chany You can freely correct my English. http://csanyi-pal.info