all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jihyun Cho <jihyun.jo@gmail.com>
To: Eduard Wiebe <usenet@pusto.de>
Cc: emacs-devel@gnu.org
Subject: Re: cp949 support
Date: Thu, 18 Jun 2009 11:19:05 +0900	[thread overview]
Message-ID: <9d644d9b0906171919x3b05cc2eu6af3db8d113ee6cd@mail.gmail.com> (raw)
In-Reply-To: <868wjq1szl.fsf@nirvana.pusto.de>

2009/6/18 Eduard Wiebe <usenet@pusto.de>:
> Kenichi Handa <handa@m17n.org> writes:
>
>> In article <9d644d9b0906170107o2e7f5d82j46882620b5a968b1@mail.gmail.com>, Jihyun Cho <jihyun.jo@gmail.com> writes:
>>
>>> In the past, someone has submitted a patch that is similar with this.
>>> (http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg01700.html)
>>
>> Oops, I have forgotten about that mail.
>>
>>> They have different code-space between this patch and the old patch.
>>> Which is the correct code-space?
>>
>> Af far as I see /usr/share/i18n/charmaps/CP949.gz, it seems
>> that the current one is correct.
>>
>>> I applied this patch, but some Hangul letters in CP949 region are
>>> shown incorrectly.
>>> For example, the Hangul letter "HANGUL SYLLABLE HAEH" is shown "HANGUL
>>> SYLLABLE JWIG" in this patch.
>>> But the old patch works well.
>
> Hmm..!?
>
>> How did you show those letters in Emacs?  By
>> list-charset-chars?
>
> The output of M-x list-charset-chars looks pretty good to me and accords
> with http://msdn.microsoft.com/de-de/goglobal/cc305154(en-us).aspx
>
>> Please tell me the Unicode code point of those two characters.
>
> @Jihyun, have you following chars in mind?
>
> HANGUL SYLLABLE HAEH:  Unicode 0xd58f, CP949 0xc164
> HANGUL SYLLABLE JWIG:  Unicode 0xc951, CP949 0xc1e4


Yes. It looks very good to me, too.

I ran the following test.
First, I applied a old patch.
I saved a file with VIM with the option "set fenc=cp949".
Then I loaded the file with EMACS. It is broken in my UTF-8 environment.
So I was typing "M-x revert-buffer-with-coding-system", "cp949", then
it looks well.

After applying this patch, I ran a same test.
It shows a wrong letter.

I guess the problem is related to coding system.

The problem that "HANGUL SYLLABLE HAEH" is shown "HANGUL SYLLABLE
JWIG" occured in EUC-KR coding system.
Because "HANGUL SYLLABLE HAEH" is not contained in EUC-KR region.
But CP949 contains "HANGUL SYLLABLE HAEH".
This patch could not fix it.




  reply	other threads:[~2009-06-18  2:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 21:11 cp949 support Eduard Wiebe
2009-06-16  0:58 ` Kenichi Handa
2009-06-17  8:07   ` Jihyun Cho
2009-06-17 11:20     ` Kenichi Handa
2009-06-17 20:54       ` Eduard Wiebe
2009-06-18  2:19         ` Jihyun Cho [this message]
2009-06-18 11:14           ` Kenichi Handa
2009-06-18 13:05             ` Chong Yidong
2009-06-18 21:33               ` User Ew
2009-06-19  0:40             ` Kenichi Handa
2009-06-20  8:42               ` Eduard Wiebe
2009-06-22  1:37                 ` Kenichi Handa
2009-07-01 12:39                 ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d644d9b0906171919x3b05cc2eu6af3db8d113ee6cd@mail.gmail.com \
    --to=jihyun.jo@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=usenet@pusto.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.