From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jihyun Cho" Newsgroups: gmane.emacs.devel Subject: [PATCH] Incorrect message in hanja-list-show() Date: Tue, 24 Jun 2008 11:32:38 +0900 Message-ID: <9d644d9b0806231932o6582ea0apf265192ffe823915@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_9834_16191398.1214274758148" X-Trace: ger.gmane.org 1214274820 1558 80.91.229.12 (24 Jun 2008 02:33:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 02:33:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 24 04:34:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAyMQ-00019v-Il for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 04:34:22 +0200 Original-Received: from localhost ([127.0.0.1]:54075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAyLb-00016N-8t for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 22:33:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAyKo-0000aU-Eb for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:32:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAyKm-0000ZR-Rx for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:32:42 -0400 Original-Received: from [199.232.76.173] (port=55490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAyKm-0000ZJ-KJ for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:32:40 -0400 Original-Received: from gv-out-0910.google.com ([216.239.58.188]:64251) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAyKm-0004HA-64 for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:32:40 -0400 Original-Received: by gv-out-0910.google.com with SMTP id i36so528523gve.17 for ; Mon, 23 Jun 2008 19:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=yJ+YJZcz5iBnrkLqZ9ZSm7FghJ9vihjLbptgJcL0hRY=; b=hREaU5oNONW0cBFIg+PlGSKQEp6pa2RYLU8DhINbXV1TTZ+MCQWrTZT7DEvspDcLGl HluPLhssuc/TySNfoJJ9a4JY5ABl8dzFGAcwkz10b0E0DaVzFuVRjpzf/hbF1kVL326q ioagDs8GVQ915vRldDOJB9ytqvY2w339XWTuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=RPzyKGINdWR7cGWN5Ww1GkUSJxpAeUrkizb6fVj2hLf/5041ey1VswH7+hc/WXbBZw l4zxo8lhLT4YyDiPKwquDOgsq19WBDnks8tXHznzOKBHj5BG6eRO6Ep1+76SDKla677x KbmWgo30fonF+YxRLgGXmUfe5iBbnSfShGEDw= Original-Received: by 10.125.76.2 with SMTP id d2mr1071669mkl.163.1214274758161; Mon, 23 Jun 2008 19:32:38 -0700 (PDT) Original-Received: by 10.210.120.5 with HTTP; Mon, 23 Jun 2008 19:32:38 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99820 Archived-At: ------=_Part_9834_16191398.1214274758148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline When the coding system is not UTF-8, the message of 'hanja-list-show' does not look right. This problem occurs in most of the the Korean Windows. The patch is decoding from encoded string by UTF-8. ------=_Part_9834_16191398.1214274758148 Content-Type: text/x-diff; name=emacs-hanja-list-decoding.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_fhtvb3gn0 Content-Disposition: attachment; filename=emacs-hanja-list-decoding.diff PyBlbWFjcy1oYW5qYS1saXN0LWRlY29kaW5nLmRpZmYKSW5kZXg6IGVtYWNzL2xpc3AvbGFuZ3Vh Z2UvaGFuamEtdXRpbC5lbAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvc291cmNlcy9lbWFjcy9lbWFj cy9saXNwL2xhbmd1YWdlL2hhbmphLXV0aWwuZWwsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNQpk aWZmIC11IC04IC1wIC1yMS41IGhhbmphLXV0aWwuZWwKLS0tIGVtYWNzL2xpc3AvbGFuZ3VhZ2Uv aGFuamEtdXRpbC5lbAk5IEp1biAyMDA4IDAxOjE4OjExIC0wMDAwCTEuNQorKysgZW1hY3MvbGlz cC9sYW5ndWFnZS9oYW5qYS11dGlsLmVsCTIzIEp1biAyMDA4IDE2OjQ4OjE1IC0wMDAwCkBAIC02 NTQxLDE3ICs2NTQxLDIxIEBAIGNoYXJhY3Rlci4gIFRoaXMgdmFyaWFibGUgaXMgaW5pdGlhbGl6 ZWQKICAgICAgICAgKHB1dC10ZXh0LXByb3BlcnR5CiAgICAgICAgICAoKyAyIChzdHJpbmctbWF0 Y2ggKGZvcm1hdCAiJWRcXC5bXiBdKiIgaWR4KSBtc2cpKQogICAgICAgICAgKG1hdGNoLWVuZCAw KQogICAgICAgICAgJ2ZhY2UgJ2hpZ2hsaWdodCBtc2cpCiAgICAgICAgIChzZXRxIGNoYXItbWVh bmluZyAoY2RyIChjYXIgcGFydGlhbC1oYW5qYS1saXN0KSkpKQogICAgICAgKHNldHEgaWR4ICgx KyBpZHgpCiAgICAgICAgICAgICBwYXJ0aWFsLWhhbmphLWxpc3QgKGNkciBwYXJ0aWFsLWhhbmph LWxpc3QpKSkKICAgICAoaWYgY2hhci1tZWFuaW5nCi0gICAgICAgIChzZXRxIG1zZyAoZm9ybWF0 ICIlcyAgICjrnLsgOiAlcykiIG1zZyBjaGFyLW1lYW5pbmcpKSkKKyAgICAgICAgKHNldHEgbXNn CisgICAgICAgICAgICAgIChmb3JtYXQgIiVzICAgKCVzIDogJXMpIgorICAgICAgICAgICAgICAg ICAgICAgIG1zZworICAgICAgICAgICAgICAgICAgICAgIChkZWNvZGUtY29kaW5nLXN0cmluZyAi 65y7IiAndXRmLTgpCisgICAgICAgICAgICAgICAgICAgICAgKGRlY29kZS1jb2Rpbmctc3RyaW5n IGNoYXItbWVhbmluZyAndXRmLTgpKSkpCiAgICAgKG1lc3NhZ2UgIiVzIiBtc2cpKSkKIAogKGRl ZnVuIGhhbmphLWxpc3QtdGVybWluYXRlICgpCiAgICJFeGl0IGZyb20gdGhlIGhhbmphIGxpc3Rp bmcgbW9kZSB3aXRoIHRoZSBjdXJyZW50bHkgc2VsZWN0ZWQgY2hhcmFjdGVyLiIKICAgKGxldCAo KGJhc2UgKGFyZWYgaGFuamEtY29udmVyc2lvbnMgMCkpCiAgICAgICAgIChvZmZzZXQgKGFyZWYg aGFuamEtY29udmVyc2lvbnMgMSkpCiAgICAgICAgIChoYW5qYS1saXN0IChhcmVmIGhhbmphLWNv bnZlcnNpb25zIDIpKSkKICAgICAodGhyb3cgJ2V4aXQtaW5wdXQtbG9vcAo= ------=_Part_9834_16191398.1214274758148--