unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* two utf-8 questions
@ 2006-01-28 19:30 B. T. Raven
  2006-01-28 23:13 ` Peter Dyballa
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: B. T. Raven @ 2006-01-28 19:30 UTC (permalink / raw)


1)

Even though the following is in my .emacs:

 (setq default-buffer-file-coding-system 'utf-8)

when I type 'C-x ret f' I see the prompt:

Coding system for visited file (default, nil) instead of (default, utf-8)

There are contexts where I need to specify utf-8 here, or else the file
won't be saved in the correct format. This seems to be true even if the
file header ;; -*- coding: utf-8 -*- is present. Why is this?


2)

Has it been pretty much decided that copypasting Unicode using the
clipboard between emacs and MS apps is impossible for OS versions earlier
than W2000? Even though most of what I read on emacs-devel is Greek to me,
I try to glean whatever I can from postings relating to w32. After many
months of lurking there I am beginning to suspect that some of the
following settings are particularly inappropriate:

(set-language-environment               'UTF-8)
        (set-default-coding-systems             'utf-8)
        (setq file-name-coding-system           'utf-8)
        (setq default-buffer-file-coding-system 'utf-8)
        (setq coding-system-for-write           'utf-8)
        (set-keyboard-coding-system             'utf-8)
        (set-terminal-coding-system             'utf-8)
        (set-clipboard-coding-system            'utf-8)
        (set-selection-coding-system            'utf-8)
        (prefer-coding-system                   'utf-8)
        (modify-coding-system-alist 'process
"[cC][mM][dD][pP][rR][oO][xX][yY]" 'utf-8-dos)

What could the clipboard and  selection variables be set to in order to
give me a better chance of copypasting Unicode successfully?

Thanks,

Ed

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-06  4:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-28 19:30 two utf-8 questions B. T. Raven
2006-01-28 23:13 ` Peter Dyballa
     [not found] ` <mailman.81.1138502554.3044.help-gnu-emacs@gnu.org>
2006-01-29  5:06   ` B. T. Raven
2006-01-29 10:00     ` Peter Dyballa
2006-01-29  9:50 ` François Gannaz
2006-02-03 23:39 ` Stefan Monnier
2006-02-05 18:12   ` B. T. Raven
2006-02-06  4:14     ` Stefan Monnier

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