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: Sun, 13 Jun 2010 10:14:48 +0200 Message-ID: <87vd9njq9z.fsf@debian-laptop.localdomain> References: <878w6p4kbm.fsf@debian-laptop.localdomain> <20100613045526.GB17796@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276417685 4634 80.91.229.12 (13 Jun 2010 08:28:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Jun 2010 08:28:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 13 10:28:04 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 1ONiXy-00063l-Hs for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 10:28:02 +0200 Original-Received: from localhost ([127.0.0.1]:52187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONiTv-0002zX-Kn for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 04:23:51 -0400 Original-Received: from [140.186.70.92] (port=34207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONiTP-0001l1-Ek for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 04:23:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONiSa-00070J-PQ for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 04:22:30 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35284) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONiSa-000701-Jf for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 04:22:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ONiSW-0005aQ-OH for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 10:22:24 +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 ; Sun, 13 Jun 2010 10:22:24 +0200 Original-Received: from csanyipal by 10-142-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jun 2010 10:22:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 33 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:aBLTmjgXLV7K2aWgz3B5SuJt0T8= 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:73882 Archived-At: 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. One GNUstep developer says the following: 'GNUstep expects the .strings file to be in US-ASCII only, or any non-ASCII characters to be escaped, or in UTF-8 with a BOM marker. Very annoying limitation; I think it is because of OpenStep compatibility.' -- Regards, Paul Chany You can freely correct my English. http://csanyi-pal.info