|
|
Up |
|
|
  |
Author: horatiohoratio Date: May 11, 2008 23:49
I downloaded Emacs 22.2.1 for Windows, and I was pleased to find that
Chinese characters work "out of the box" on my computer. However, I
have a weird visualization problem for some characters. One example
is 你你. These two characters appear the same in Firefox, in Notepad,
in the file system (ie Explorer), and in various other places.
However, in Emacs, the character on the left appears as an empty
square, but the character on the right shows up as the Chinese
character for "you". Is there some way to make Emacs correctly
display both versions of this character?
|
| |
|
| | 9 Comments |
|
  |
Author: Harald Hanche-OlsenHarald Hanche-Olsen Date: May 12, 2008 00:14
> I downloaded Emacs 22.2.1 for Windows, and I was pleased to find that
> Chinese characters work "out of the box" on my computer. However, I
> have a weird visualization problem for some characters. One example
> is 你你. These two characters appear the same in Firefox, in Notepad,
> in the file system (ie Explorer), and in various other places.
> However, in Emacs, the character on the left appears as an empty
> square, but the character on the right shows up as the Chinese
> character for "you".
I am confused. They not only /look/ the same, they /are/ the same
character (U+4F60). Maybe your news posting software knows what emacs
doesn't, and has changed one of those so they are equal?
I'm afraid you will have to describe the difference between the two
characters somehow.
--
* Harald Hanche-Olsen < URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell
|
| |
|
| | no comments |
|
  |
Author: Harald Hanche-OlsenHarald Hanche-Olsen Date: May 12, 2008 00:17
I should have made the following addition to my previous post:
+ horatio@ gmail.com:
> However, in Emacs, the character on the left appears as an empty
> square, but
The empty box is emacs' way of displaying a character it doesn't know
how to display, meaning it is not present in the current fontset. This
doesn't tell you how to solve the problem of course, but it tells you
something about where to look for a solution.
--
* Harald Hanche-Olsen < URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell
|
| |
| no comments |
|
  |
Author: horatiohoratio Date: May 12, 2008 00:51
On May 12, 12:14 am, Harald Hanche-Olsen wrote:
>> I downloaded Emacs 22.2.1 for Windows, and I was pleased to find that
>> Chinese characters work "out of the box" on my computer. However, I
>> have a weird visualization problem for some characters. One example
>> is 你你. These two characters appear the same in Firefox, in Notepad,
>> in the file system (ie Explorer), and in various other places.
>> However, in Emacs, the character on the left appears as an empty
>> square, but the character on the right shows up as the Chinese
>> character for "you".
>
> I am confused. They not only /look/ the same, they /are/ the same
> character (U+4F60). Maybe your news posting software knows what emacs
> doesn't, and has changed one of those so...
|
| Show full article (1.34Kb) |
| no comments |
|
  |
Author: horatiohoratio Date: May 12, 2008 01:07
On May 12, 12:51 am, hora...@ gmail.com wrote:
> On May 12, 12:14 am, Harald Hanche-Olsen wrote:
>
>
>
>
>>> I downloaded Emacs 22.2.1 for Windows, and I was pleased to find that
>>> Chinese characters work "out of the box" on my computer. However, I
>>> have a weird visualization problem for some characters. One example
>>> is 你你. These two characters appear the same in Firefox, in Notepad,
>>> in the file system (ie Explorer), and in various other places.
>>> However, in Emacs, the character on the left appears as an empty
>>> square, but the character on the right shows up as the Chinese
>>> character for "you".
>
>> I am confused. They not only /look/ the same, they /are/ the same
>> character (U+4F60). Maybe your news posting software knows what emacs
>> doesn't, and has changed one of those so they are equal?
> ...
|
| Show full article (2.39Kb) |
| no comments |
|
  |
Author: Harald Hanche-OlsenHarald Hanche-Olsen Date: May 12, 2008 01:16
> My guess is there's some basic option or package that I'm missing that
> will make the problem go away. Can you (or anyone else) copy and
> paste that character into an Emacs buffer? If it works, can you think
> of anything in your setup that I might not have done? I'll take a
> look myself in the meantime.
I can copy and paste it just fine. However, you said you're running
emacs 22 on windows, right? I am running various versions of emacs 23
(the development version) on unix, so I very much doubt that you can
learn anything useful from my setup. I don't do anything out of the
ordinary with font setup anyway (other than using the Vera Sans Mono
font, which will affect only the latin characters). I think some other
users of emacs on windows will have to step in.
--
* Harald Hanche-Olsen < URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell
|
| |
| no comments |
|
  |
Author: David KastrupDavid Kastrup Date: May 12, 2008 01:35
Harald Hanche-Olsen writes:
>> My guess is there's some basic option or package that I'm missing
>> that will make the problem go away. Can you (or anyone else) copy
>> and paste that character into an Emacs...
|
| Show full article (1.93Kb) |
| no comments |
|
  |
Author: Jason RumneyJason Rumney Date: May 12, 2008 02:21
> I downloaded Emacs 22.2.1 for Windows, and I was pleased to find that
> Chinese characters work "out of the box" on my computer. However, I
> have a weird visualization problem for some characters. One example
> is 你你. These two characters appear the same in Firefox, in Notepad,
> in the file system (ie Explorer), and in various other places.
> However, in Emacs, the character on the left appears as an empty
> square, but the character on the right shows up as the Chinese
> character for "you". Is there some way to make Emacs correctly
> display both versions of this character?
What is your default language set to in Windows? If it is not
Chinese, then Emacs might be making the wrong decision about how to
interpret 你 when it is encoded as Unicode, and is looking for a
Japanese or Korean font which you don't have.
|
| |
| no comments |
|
  |
Author: horatiohoratio Date: May 12, 2008 02:37
On May 12, 1:35 am, David Kastrup gnu.org> wrote:
> Harald Hanche-Olsen writes:
>
>>> My guess is there's some basic option or package that I'm missing
>>> that will make the problem go away. Can you (or anyone else) copy
>>> and paste that character into an Emacs buffer? If it works, can you
>>> think of anything in your setup that I might not have done? I'll
>>> take a look myself in the meantime.
>
>> I can copy and paste it just fine. However, you said you're running
>> emacs 22 on windows, right? I am running various versions of emacs 23
>> (the development version) on unix, so I very much doubt that you can
>> learn anything useful from my setup. I don't do anything out of the
>> ordinary with font setup anyway (other than using the Vera Sans Mono
>> font, which will affect only the latin characters). I think some other
>> users of emacs on windows will have to step in.
>
> If he is using Chinese or other CJK stuff a lot, he might want to bite
> the bullet and switch to Emacs 23. ...
|
| Show full article (2.35Kb) |
| no comments |
|
  |
|
|
  |
Author: Peter DyballaPeter Dyballa Date: May 12, 2008 08:42
Am 12.05.2008 um 08:49 schrieb horatio:
> Is there some way to make Emacs correctly
> display both versions of this character?
You can check with C-u C-x = on each of the characters/boxes what
they actually are.
There might be another problem with the way MS encodes the snippet.
Maybe you need to tell what selection-coding-system is used ...
--
Greetings
Pete
A morning without coffee is like something without something else.
|
| |
| no comments |
|
RELATED THREADS |
  |
|
|
|