emacs-devel
[Top][All Lists]
Advanced

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

Re: [Q] GNu Emacs/MacOS X/Font Encoding


From: Rolf Marvin Bøe Lindgren
Subject: Re: [Q] GNu Emacs/MacOS X/Font Encoding
Date: Thu, 08 May 2003 22:05:30 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

[Andrew Choi]

| I'm sorry I still cannot repeat the problem.  This is what I did.  I
| saved your post in a file.  It contains the letters (in Latin 1
| encoding)
| 
|   æ ø å Æ Å Ø
 
I found it. the problem only occurs when EMACS_UNIBYTE is set.

I  (along, I presume, with all or most Europeans) cannot use Emacs in
multibyte mode.  so this _must_ work in unibyte mode.  with 

          ~/.MacOSX/environment.plist 

containing

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>EMACS_UNIBYTE</key>
        <string>TRUE</string>
</dict>
</plist>

Emacs starts in unibyte mode, the problematic characters are
represented as one byte, but Emacs displays them wrong.  without this,
Emacs displays the problematic characters correcly, but they are
represented with two bytes as UTF-8 which is no good.  

-- 
Rolf Lindgren                                            http://www.roffe.com/
address@hidden




reply via email to

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