|
|
 | | From: | David Sumbler | | Subject: | Displaying Greek characters etc. | | Date: | Thu, 20 Jan 2005 22:15:21 +0000 |
|
|
 | I run Fedora Core 2, Emacs 21.3 and Gnus v5.10.6 .
I cannot display some foreign characters (e.g. Greek) on my consoles: the characters appear as blocks. This is true even, for example, when I do M-x describe-input-method in Emacs.
What do I need to do (i.e. install, probably) to be able to handle these other languages in Emacs and Gnus?
When I installed Fedora, I specified UK English as the language, and the only choices the system gives me at the moment are this and US English.
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail, replace "nospam" in my address with "aeolia".
|
|
 | | From: | Reiner Steib | | Subject: | Re: Displaying Greek characters etc. | | Date: | Fri, 21 Jan 2005 10:48:31 +0100 |
|
|
 | On Thu, Jan 20 2005, David Sumbler wrote:
> I run Fedora Core 2, Emacs 21.3 and Gnus v5.10.6 . > > I cannot display some foreign characters (e.g. Greek) on my > consoles: the characters appear as blocks.
What do you mean with "consoles"? Emacs running without X11 interface? Probably not, because then you would get question marks instead of hollow boxes ("blocks").
Try "emacs -q -no-site-file -f view-hello-file". Do you see the characters in the "Greek" line...
Greek (Ελληνικά) Γειά σας ^--- lambda
.... correctly? What is the output of `C-u C-x =' when the cursor is on the lambda (the char after "Ε")?
It should be similar to this:
,---- | character: λ (05553, 2923, 0xb6b) | charset: greek-iso8859-7 | (Right-Hand Part of Latin/Greek Alphabet (ISO/IEC 8859-7): ISO-IR-126) | code point: 107 | syntax: word | category: g:Greek | buffer code: 0x86 0xEB | file code: ESC 2C 46 6B (encoded by coding system iso-2022-7bit-unix) | font: -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-7 `---- If there is "font: -- none --", you need to install a suitable font.
Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
|
|
 | | From: | Aidan Kehoe | | Subject: | Re: Displaying Greek characters etc. | | Date: | Fri, 21 Jan 2005 16:28:12 +0000 |
|
|
 | Ar an chéad lá is fiche de mí Eanair, scríobh David Sumbler:
> > Greek (Ελληνικά) Γειά σας > > ^--- lambda > > > > ... correctly? > > No; Amharic, Arabic, Greek, Hindi, Lao, Thai, Tibetan, Tigrigna, > Japanese, Chinese, Cantonese and Korean consist entirely of blocks, > and Vietnamese partly so. Most of those aren't often going to be of > importance to me, but Greek is.
If you are using a Linux text console, you’ll need to set it to use UTF-8, not Latin 1, as the “character set” (this term is used differently in the Western world than it is by the developers of Mule; here, I mean it as the Linux people will.). I have no idea how to do that, and it’s outside of the scope of comp.emacs.
Then do M-x set-terminal-coding-system RET utf-8 RET in GNU Emacs. If your console font has Greek characters available, they should show up within Emacs; to test this, select the following text, press C-x C-e, and examine how the result is displayed.
(format "%c" (make-char 'greek-iso8859-7 #xc8))
If all is going well, you should see a capital theta.
It _may_ also be possible to tell Linux to use an ISO-8859-7 font, set-terminal-coding-system to iso-8859-7 , and have that work. I’m not sure that there are ISO-8859-7 fonts available for the Linux console, though.
-- “Ah come on now Ted, a Volkswagen with a mind of its own, driving all over the place and going mad, if that’s not scary I don’t know what is.”
|
|
 | | From: | David Sumbler | | Subject: | Re: Displaying Greek characters etc. | | Date: | Fri, 21 Jan 2005 16:04:29 +0000 |
|
|
 | Reiner Steib writes:
> On Thu, Jan 20 2005, David Sumbler wrote: > >> I run Fedora Core 2, Emacs 21.3 and Gnus v5.10.6 . >> >> I cannot display some foreign characters (e.g. Greek) on my >> consoles: the characters appear as blocks. > > What do you mean with "consoles"? Emacs running without X11 > interface?
Yes.
> Probably not, because then you would get question marks instead of > hollow boxes ("blocks").
I get small solid blocks, not the hollow boxes.
> Try "emacs -q -no-site-file -f view-hello-file". Do you see the > characters in the "Greek" line... > > Greek (Ελληνικά) Γειά σας > ^--- lambda > > ... correctly?
No; Amharic, Arabic, Greek, Hindi, Lao, Thai, Tibetan, Tigrigna, Japanese, Chinese, Cantonese and Korean consist entirely of blocks, and Vietnamese partly so. Most of those aren't often going to be of importance to me, but Greek is.
> What is the output of `C-u C-x =' when the cursor is > on the lambda (the char after "Ε")? > > It should be similar to this: > > ,---- > | character: λ (05553, 2923, 0xb6b) > | charset: greek-iso8859-7 > | (Right-Hand Part of Latin/Greek Alphabet (ISO/IEC 8859-7): ISO-IR-126) > | code point: 107 > | syntax: word > | category: g:Greek > | buffer code: 0x86 0xEB > | file code: ESC 2C 46 6B (encoded by coding system iso-2022-7bit-unix) > | font: -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-7 > `---- > > If there is "font: -- none --", you need to install a suitable font.
The output is exactly as above, except that the last line (font) is missing, and I have
terminal code: 0xCE 0xBB
instead.
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail, replace "nospam" in my address with "aeolia".
|
|
 | | From: | David Sumbler | | Subject: | Re: Displaying Greek characters etc. | | Date: | Fri, 21 Jan 2005 18:08:46 +0000 |
|
|
 | Aidan Kehoe writes:
> Ar an chéad lá is fiche de mí Eanair, scríobh David Sumbler: > > > > Greek (Ελληνικά) Γειά σας > > > ^--- lambda > > > > > > ... correctly? > > > > No; Amharic, Arabic, Greek, Hindi, Lao, Thai, Tibetan, Tigrigna, > > Japanese, Chinese, Cantonese and Korean consist entirely of blocks, > > and Vietnamese partly so. Most of those aren't often going to be of > > importance to me, but Greek is. > > If you are using a Linux text console, you’ll need to set it to use UTF-8, > not Latin 1, as the “character set” (this term is used differently in the > Western world than it is by the developers of Mule; here, I mean it as the > Linux people will.). I have no idea how to do that, and it’s outside of the > scope of comp.emacs.
The console is already set to utf-8. I thought it was, but checked by doing 'unicode_stop', which messed things up, and then 'unicode_start', which put things right again.
> Then do M-x set-terminal-coding-system RET utf-8 RET in GNU Emacs. If your > console font has Greek characters available, they should show up within > Emacs; to test this, select the following text, press C-x C-e, and examine > how the result is displayed. > > (format "%c" (make-char 'greek-iso8859-7 #xc8)) > > If all is going well, you should see a capital theta.
No, I get a block.
My system's default font seems to be something called "latarcyrheb-sun16". When I do 'showconsolefont' this displays 512 characters, including Latin, Arabic, Cyrillic and Hebrew - hence the name, I supppose - but not Greek.
> It _may_ also be possible to tell Linux to use an ISO-8859-7 font, > set-terminal-coding-system to iso-8859-7 , and have that work. I’m not sure > that there are ISO-8859-7 fonts available for the Linux console, though.
I seem to have a lot of fonts, including things such as "iso07u-16" and "gr928a-8x16". But they only seem to have 256 characters - mainly Latin and Greek.
I suspect that there may be a way of combining fonts - perhaps using 'psfxtable', 'psfaddtable' and suchlike? But I don't know how to go about doing this, or even if it's possible. Surely, though, the whole point of Unicode is that we can display all sorts of characters. I don't want to lose the Cyrillic, for instance, by having the Greek.
Any further help or pointers to where to find it will be gratefully received!
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail, replace "nospam" in my address with "aeolia".
|
|
 | | From: | Aidan Kehoe | | Subject: | Re: Displaying Greek characters etc. | | Date: | Fri, 21 Jan 2005 18:41:57 +0000 |
|
|
 | Ar an chéad lá is fiche de mí Eanair, scríobh David Sumbler:
> > (format "%c" (make-char 'greek-iso8859-7 #xc8)) > > > > If all is going well, you should see a capital theta. > > No, I get a block. > > My system's default font seems to be something called > "latarcyrheb-sun16". When I do 'showconsolefont' this displays 512 > characters, including Latin, Arabic, Cyrillic and Hebrew - hence the > name, I supppose - but not Greek.
So what you need is a Linux console font with UTF-8 support that includes Greek character coverage. Try on a Linux list.
-- “Ah come on now Ted, a Volkswagen with a mind of its own, driving all over the place and going mad, if that’s not scary I don’t know what is.”
|
|
|