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: Paul Chany
Subject: Re: To get Unicode file (UTF8) with a leading byte-order-marker characters?
Date: Sun, 13 Jun 2010 10:14:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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




reply via email to

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