all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Garbage display when NULL in file
@ 2009-03-08 15:08 Gregory Sharp
  2009-03-08 19:15 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Gregory Sharp @ 2009-03-08 15:08 UTC (permalink / raw)
  To: help-gnu-emacs


> > In my current debian emacs (22.2.1), emacs seems to be incorrectly
> > detecting the codeset for files with mixed ascii/data.  The problem
> > is that I get a garbage display (squares, kanji, etc.).  How can
> > I tell emacs not to detect the codeset (or revert to ascii/utf8
> > after it autodetects)?
> 
>   C-x RET c us-ascii RET C-x C-x your-file RET
> 
> Does this do what you want? 

Yes!  Thank you for the hint.  The following also works:

  C-x RET c utf-8 RET C-x C-f your-file RET

Why doesn't emacs use utf-8 (my locale codeset) for this file?  
Can I make this behavior the default?
-- 
Greg Sharp
gregsharp@geocities.com



      




^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.2697.1236524942.31690.help-gnu-emacs@gnu.org>]
* Garbage display when NULL in file
@ 2009-03-07 16:27 Gregory Sharp
  2009-03-07 19:27 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Gregory Sharp @ 2009-03-07 16:27 UTC (permalink / raw)
  To: help-gnu-emacs



In my current debian emacs (22.2.1), emacs seems to be incorrectly
detecting the codeset for files with mixed ascii/data.  The problem 
is that I get a garbage display (squares, kanji, etc.).  How can 
I tell emacs not to detect the codeset (or revert to ascii/utf8
after it autodetects)?

Here is the stuff I want it to stop doing:

Loading subst-ksc...done
Loading subst-gb2312...done
Loading subst-big5...done
Loading subst-jis...done
Loading composite...done

-- 
Greg Sharp
gregsharp@geocities.com


      




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

end of thread, other threads:[~2009-03-09  4:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 15:08 Garbage display when NULL in file Gregory Sharp
2009-03-08 19:15 ` Eli Zaretskii
2009-03-09  1:19   ` Samuel Wales
2009-03-09  4:09     ` Eli Zaretskii
     [not found] <mailman.2697.1236524942.31690.help-gnu-emacs@gnu.org>
2009-03-08 23:26 ` Miles Bader
  -- strict thread matches above, loose matches on Subject: below --
2009-03-07 16:27 Gregory Sharp
2009-03-07 19:27 ` Eli Zaretskii

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.