From: Paul Chany <csanyipal@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: To get Unicode file (UTF8) with a leading byte-order-marker characters?
Date: Mon, 14 Jun 2010 14:17:53 +0200 [thread overview]
Message-ID: <87iq5l7qq6.fsf@debian-laptop.localdomain> (raw)
In-Reply-To: 87vd9njq9z.fsf@debian-laptop.localdomain
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
next prev parent reply other threads:[~2010-06-14 12:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 15:26 To get Unicode file (UTF8) with a leading byte-order-marker characters? Paul Chany
2010-06-08 23:02 ` Eli Zaretskii
2010-06-11 20:59 ` Paul Chany
2010-06-12 5:56 ` Kevin Rodgers
2010-06-12 11:24 ` Eli Zaretskii
2010-06-12 11:49 ` Paul Chany
2010-06-13 4:55 ` tomas
2010-06-13 8:14 ` Paul Chany
2010-06-14 12:17 ` Paul Chany [this message]
[not found] ` <mailman.2.1276404928.6139.help-gnu-emacs@gnu.org>
[not found] ` <slrni1e3u2.n7i.nospam-abuse@powdermilk.math.berkeley.edu>
2010-06-15 13:56 ` Jason Rumney
[not found] ` <slrni1gaut.q6l.nospam-abuse@powdermilk.math.berkeley.edu>
[not found] ` <pco39wn85iv.fsf@math.ntnu.no>
2010-06-16 14:10 ` Jason Rumney
[not found] <mailman.3.1276010799.23544.help-gnu-emacs@gnu.org>
2010-06-08 17:38 ` Pascal J. Bourguignon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iq5l7qq6.fsf@debian-laptop.localdomain \
--to=csanyipal@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).