From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: How to input chinese characters with `scim'? Date: Fri, 2 May 2008 08:41:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9a41c3e0-bee9-4f2d-bf2a-f2f4f116effd@b5g2000pri.googlegroups.com> References: <87ej8sj3hb.fsf@gmail.com> <87wsmk4963.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1209746448 30871 80.91.229.12 (2 May 2008 16:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2008 16:40:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 02 18:41:25 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JryJx-00034M-Be for geh-help-gnu-emacs@m.gmane.org; Fri, 02 May 2008 18:41:17 +0200 Original-Received: from localhost ([127.0.0.1]:34975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JryJG-0006Gl-15 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 May 2008 12:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b5g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: 24.6.97.120 Original-X-Trace: posting.google.com 1209742863 7781 127.0.0.1 (2 May 2008 15:41:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 2 May 2008 15:41:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b5g2000pri.googlegroups.com; posting-host=24.6.97.120; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:158348 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53716 Archived-At: =C2=AB on some chinese input and character display problems =C2=BB i type chinese occationally. my encoding is set to utf-8, and i am able to use both chinese-py and chinese-py-b5 as input systems, and see all characters correctly. (am on mac os x) btw, gb-2312 is rather obsolete, not sure if you are choosing it for a reason. I don't think gb2313 include both simplified and traditional chars. you might try gb18030, which supercedes gb2312 and is just a superset, and in fact is a variant of unicode, and includes both simplified and trad chars. Wikipedia has details. Xah xah@xahlee.org =E2=88=91 http://xahlee.org/ =E2=98=84 On Apr 26, 2:07 pm, Rodolfo Medina wrote: > Rodolfo Medina writes: > >> Is out there any Scim user? I want to input chinese characters with Em= acs > >> and > >> Scim, but when I do `C-space' the scim bar does not appear at all. I ha= ve > >> Debian Etch. > Eli Zaretskii writes: > > Any reason why the Chinese input methods that come with Emacs are not > > good enough for your needs? Type "C-u C-\ chinese TAB TAB" (yes, TAB > > twice), and you will be presented with a long list of input methods to > > select from. Their advantage is that they will work on any system, > > even if scim is not installed, and I bet the choice of methods is > > larger than what you have with scim. > Enno Schwass writes: > > > I used scim for japanese input on ubuntu last year, but I returned to > > the native emacs input method. It fits my needs perfect. Did you tried i= t? > > Thanks for your suggestion. > > With `chinese-py' input method I can input simplified Chinese characters; > instead with `chinese-py-b5' there are only white squares. What am I miss= ing? > In my .emacs I put the following stuff: > > (create-fontset-from-fontset-spec "-isas-fangsong > ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0" t) > > (set-language-environment "Chinese-GB") > (set-selection-coding-system 'cn-gb-2312) > (set-clipboard-coding-system 'cn-gb-2312) > (set-keyboard-coding-system 'cn-gb-2312) > (setq locale-coding-system 'cn-gb-2312) > (set-terminal-coding-system 'chinese-iso-8bit) > (setq default-input-method 'chinese-py-punct) > > . Thanks for further help! > Rodolfo