all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: two utf-8 questions
Date: Sun, 29 Jan 2006 00:13:26 +0100	[thread overview]
Message-ID: <F75FA9C2-7C80-4F2E-9601-2A9BCD6A95E3@Web.DE> (raw)
In-Reply-To: <DDPCf.7105$rH5.830@newsread2.news.atl.earthlink.net>


Am 28.01.2006 um 19:30 schrieb B. T. Raven:

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

Maybe you need a: (prefer-coding-system   'utf-8)

>
>
> 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?

I don't think so, but it's natural to assume that all Losedows from  
last millennium has no idea of Unicode.

> 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?
>

I would think it's some CP125x code page (1250: Extended European,  
1251: Cyrillic, 1252: ANSI, something like ISO 8859-1 or ISO  
Latin-1). And it's probably best to set this as a default -- or how  
do you print or email an UTF-8 text from this Losedows?

--
Greetings

   Pete

When confronted with actual numbers, a mathematician is at a loss.   
(Steffen Hokland)

  reply	other threads:[~2006-01-28 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-28 19:30 two utf-8 questions B. T. Raven
2006-01-28 23:13 ` Peter Dyballa [this message]
     [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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F75FA9C2-7C80-4F2E-9601-2A9BCD6A95E3@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.