From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao LU Subject: Org Mobile Setting and file encoding Date: Tue, 23 Nov 2010 12:54:49 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1058084073==" Return-path: Received: from [140.186.70.92] (port=35185 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKx5E-0000Wi-8s for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 12:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKx5D-00085o-2r for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 12:55:12 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:63944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKx5C-00085b-Ub for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 12:55:11 -0500 Received: by fxm20 with SMTP id 20so6722127fxm.0 for ; Tue, 23 Nov 2010 09:55:09 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1058084073== Content-Type: multipart/alternative; boundary=20cf3054a541d8a4400495bc12c0 --20cf3054a541d8a4400495bc12c0 Content-Type: text/plain; charset=ISO-8859-1 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 --20cf3054a541d8a4400495bc12c0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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") &= quot;org dir")
(defvar org-source-dir (concat Dropbox "/org/org")=A0 "org s= ource 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-sour= ce-dir)
(setq org-mobile-force-id-on-agenda-items nil)
(setq org-mobi= le-inbox-for-pull (concat org-source-dir "/mobile.org"))

After org-mobile-push command, the agenda is generated, but in Mobile O= rg, 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 i= f not, how to convert them (there's quite a bit) to UTF-8,
and in th= e future how to save the files automatically to UTF-8 with the Chinese supp= ort?

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

Chao

--20cf3054a541d8a4400495bc12c0-- --===============1058084073== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1058084073==--