unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Cyrillic Unicode Gives Me Placeholders :-(
@ 2004-05-05 17:36 Eladio Ventura
  0 siblings, 0 replies; 2+ messages in thread
From: Eladio Ventura @ 2004-05-05 17:36 UTC (permalink / raw)


I'm working on a project where I have to use both cyrillic and
latin-1 characters in the same file (essentially a dictionary).

I use set-input-method to type cyrillic via cyrillic-yawerty and
that works just dandy. Then I save it in unicode using
universal-coding-system-argument utf-8, but when I use find-file to
open it again the cyrillics are replaced with placeholders. (I make
sure to switch coding system before I do that, of course)

Oddly enough they show up just fine in vim, or my unicode-aware
term, and can be seen by the usual tools like 'cat' and 'less'.

What am I missing? Why doesn't Emacs plug in the chars
automagically? After all, it can find the fonts since I can type the
darn things. *sigh*
-- 
"Thinking gives you wrinkles!"
Malibu Stacy, the Simpsons

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

* Re: Cyrillic Unicode Gives Me Placeholders :-(
       [not found] <mailman.3516.1083778636.1061.help-gnu-emacs@gnu.org>
@ 2004-05-05 20:59 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-05-05 20:59 UTC (permalink / raw)


> I use set-input-method to type cyrillic via cyrillic-yawerty and
> that works just dandy. Then I save it in unicode using
> universal-coding-system-argument utf-8, but when I use find-file to
> open it again the cyrillics are replaced with placeholders. (I make
> sure to switch coding system before I do that, of course)

How do you "make sure ..." exactly?
What is the value of buffer-file-coding-system after you opened the file and
the chars are re[placed by placeholders ?
Have you tried to add a cookie like

    -*- coding: utf-8 -*-

on the first line of the file?


        Stefan


PS: and of course: which version of Emacs? what's your locale settings? ...

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

end of thread, other threads:[~2004-05-05 20:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3516.1083778636.1061.help-gnu-emacs@gnu.org>
2004-05-05 20:59 ` Cyrillic Unicode Gives Me Placeholders :-( Stefan Monnier
2004-05-05 17:36 Eladio Ventura

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