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: Mon, 14 Jun 2010 14:17:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Paul Chany <csanyipal@gmail.com> 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




reply via email to

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