Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 808821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:37:33+00:00 2026-05-15T00:37:33+00:00

I have just tried to save a simple *.rtf file with some websites and

  • 0

I have just tried to save a simple *.rtf file with some websites and tips on how to use emacs and I got

These default coding systems were
tried to encode text in the buffer
`notes.rtf’: (iso-latin-1-dos (315 .
8216) (338 . 8217) (1514 . 8220) (1525
. 8221)) However, each of them
encountered characters it couldn’t
encode: iso-latin-1-dos cannot
encode these: ‘ ’ “ ”
….
etc, etc, etc

Now what is that? Now it is asking me to chose an encoding system

Select coding system (default
chinese-iso-8bit):

I don’t even know what an encoding system is, and I would rather not have to choose one every time I try and save a document… Is there any way I can set an encoding system that will work with all my files so I don’t have to worry about this?

I saw another question and asnswer elsewhere in this website (see it here) and it seems that if I type the following

(defun set-coding-system () (setq
buffer-file-coding-system
‘utf-8-unix)) (add-hook
‘find-file-hook ‘set-coding-system)

then I can have Emacs do this, but I am not sure… Can someone confirm this to me?

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:37:34+00:00Added an answer on May 15, 2026 at 12:37 am

    Here’s a pretty comprehensive group of magic invocations to make Emacs use UTF-8 everywhere by default:

      (setq utf-translate-cjk-mode nil) ; disable CJK coding/encoding (Chinese/Japanese/Korean characters)
      (set-language-environment 'utf-8)
      (set-keyboard-coding-system 'utf-8-mac) ; For old Carbon emacs on OS X only
      (setq locale-coding-system 'utf-8)
      (set-default-coding-systems 'utf-8)
      (set-terminal-coding-system 'utf-8)
      (set-selection-coding-system
        (if (eq system-type 'windows-nt)
            'utf-16-le  ;; https://rufflewind.com/2014-07-20/pasting-unicode-in-emacs-on-windows
          'utf-8))
      (prefer-coding-system 'utf-8)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried using the NSArchiver but for some reason I am getting
I have some problems with authorization. I don't want to use Spring Security, just
I have just tried adding a WebService (asmx based) from a WebForms project to
I have just tried to uploaded an app through the Application Loader, but it
I have just downloaded the flexigrid and examples and tried to execute. In the
I tried implementing a sorting program in mapreduce such that I have just the
I have tried troubleshooting this problem and just ended up with nothing, I hope
I have tried using a stemmer but the words it produces are just not
Iam running WAMP server and just enabled php_memcache extension and have tried the code
Just tried writing a simple validates_presence_of in my model, and when the errors try

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.