emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Outer world" encoding for non-Latin1 language environments


From: Stefan Monnier
Subject: Re: "Outer world" encoding for non-Latin1 language environments
Date: Thu, 28 Feb 2002 20:28:08 -0500

> Note the (setup-function . setup-koi8u-coding-system) and
> (exit-function . reset-coding-system).  They can be defined by
> (features cyril-util) in this way:
> 
> (defun setup-koi8u-coding-system () 
>   (let ()
>     (set-keyboard-coding-system 'koi8-u)
>     (set-clipboard-coding-system 'koi8-u)
>     (set-terminal-coding-system 'koi8-u)))
> 
> (defun reset-coding-system () 
>   (let ()
>     (set-keyboard-coding-system 'latin-1)
>     (set-clipboard-coding-system nil)
>     (set-terminal-coding-system nil)))
> 
> Maybe someone will propose a better solution?

Maybe all it takes is to use set-locale-environment rather than
set-language-environment ?
Also maybe koi8-u should be added to `standard-keyboard-coding-systems' ?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]