emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chao LU <loochao@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org Mobile Setting and file encoding
Date: Tue, 23 Nov 2010 12:54:49 -0500	[thread overview]
Message-ID: <AANLkTinHtHbXaGOAjhtTqHFsUkGc92A4xQCd07V8GffU@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1099 bytes --]

Dear list,

I'm trying to set up Mobile Org, but there's some problem,

All my org files are placed in in ~/My Dropbox/org/org, as following:
-----
(defvar org-dir (concat Dropbox "/org") "org dir")
(defvar org-source-dir (concat Dropbox "/org/org")  "org source dir")
(defvar pub-html-dir (concat Dropbox "/org/public_html") "html dir")
(defvar org-mobile-dir (concat Dropbox "/MobileOrg") "org mobile dir")

Then I set Mobile Org like this:
(setq org-mobile-directory org-source-dir)
(setq org-mobile-force-id-on-agenda-items nil)
(setq org-mobile-inbox-for-pull (concat org-source-dir "/mobile.org"))

After org-mobile-push command, the agenda is generated, but in Mobile Org,
it could not be opened,
and the error message is bad file encoding, unable to detect file encoding,
please re-save this file using UTF-8.

So how could I figure out what the file encoding of my org files, and if
not, how to convert them (there's quite a bit) to UTF-8,
and in the future how to save the files automatically to UTF-8 with the
Chinese support?

The coding system is really confusing, thanks a lot!!

Chao

[-- Attachment #1.2: Type: text/html, Size: 1338 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-11-23 17:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 17:54 Chao LU [this message]
2010-11-23 19:33 ` Org Mobile Setting and file encoding Joost Helberg
2010-11-24 15:05   ` Chao LU

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=AANLkTinHtHbXaGOAjhtTqHFsUkGc92A4xQCd07V8GffU@mail.gmail.com \
    --to=loochao@gmail.com \
    --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).