emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: fang yu <smartcarnew@aliyun.com>
To: emacs-orgmode@gnu.org
Subject: When closing an org file, if the file contains Chinese characters, it always prompts me to choose an encoding system.
Date: Sun, 18 Feb 2024 13:36:47 +0800	[thread overview]
Message-ID: <AF3F91C6-D334-453F-86C8-7CF62156C7B2@aliyun.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

Hi,

I encountered an issue while using org-mode. Whenever the file contains Chinese characters, it always prompts me to choose an encoding system.

My emacs version is 29.2 and my org-mode version is 9.6.15, and  I have language environment setting below 

;; set language environment
(set-language-environment 'UTF-8)
(set-locale-environment "UTF-8”)

Screen snapshot is below:




test.org contins below text:

#+STARTUP: indent

* test

* 测试


Can anyone tell me if there is a way to solve this problem? Thank you in advance.

[-- Attachment #2.1: Type: text/html, Size: 1721 bytes --]

[-- Attachment #2.2: 粘贴的图形-1.png --]
[-- Type: image/png, Size: 261416 bytes --]

             reply	other threads:[~2024-02-24 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18  5:36 fang yu [this message]
2024-02-24 17:36 ` When closing an org file, if the file contains Chinese characters, it always prompts me to choose an encoding system Ihor Radchenko

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=AF3F91C6-D334-453F-86C8-7CF62156C7B2@aliyun.com \
    --to=smartcarnew@aliyun.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).