emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Ben Alexander <bva@alexanderonline.org>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>,
	Ben Alexander <ben@alexanderonline.org>
Subject: Re: Bug: org-mobile "Bad file encoding" [6.33trans]
Date: Fri, 27 Nov 2009 08:01:23 +0000	[thread overview]
Message-ID: <87hbsg8kh8.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <1F87941A-07E0-4FA9-869A-C39968D4ABF2@alexanderonline.org>

At Thu, 26 Nov 2009 12:27:06 +0200,
Ben Alexander wrote:
> 
> Well, the problem came back :-(

Sorry to hear that.  Annoying.

> Clearly there is some emacs magic going on here, because I thought of
> trying the £ symbol, but in another, smaller, file, and when I tried
> to save the file, I was told:
> These default coding systems were tried to encode text
> in the buffer `birthdays.org':
>   iso-8859-2-unix
> However, each of them encountered characters it couldn't encode:
>   iso-8859-2-unix cannot encode these: £

The £ symbol is available in 8859-1 but not -2 unfortunately.

> I thought the earlier emacs code specified utf-8 as the default coding
> system

I find the whole coding system in Emacs beyond comprehension, having
been fighting it for a long time now.  With respect to org, although
not necessarily for mobile org, I have solved all my problems by
putting the following line as the first line of every single org file
I have:

   # -*- coding: utf-8; -*-

(not indented)  All my problems have disappeared even though this is
not a recommended solution, from what I understand.

HTH.

      reply	other threads:[~2009-11-27  8:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-22 20:20 Bug: org-mobile "Bad file encoding" [6.33trans] Ben Alexander
     [not found] ` <12BAC43B-2E3B-4297-B1A5-6C7FCBA408F5@ncogni.to>
     [not found]   ` <8F8BA972-5177-4A16-B8A4-0CFBD7B6EAC7@alexanderonline.org>
     [not found]     ` <0F00222B-8B42-4B37-BA25-9C739F0A75C7@ncogni.to>
2009-11-23 18:53       ` Ben Alexander
2009-11-26 10:27         ` Ben Alexander
2009-11-27  8:01           ` Eric S Fraga [this message]

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbsg8kh8.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=ben@alexanderonline.org \
    --cc=bva@alexanderonline.org \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).