From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24241 Path: news.gmane.org!not-for-mail From: Xiao Jianfeng Newsgroups: gmane.comp.tex.context Subject: Re: Chinese Date: Fri, 09 Dec 2005 21:46:21 +0800 Message-ID: <43998AAD.50806@gmail.com> References: <4393EE02.405@gmail.com> <4393EF88.40709@gmail.com> <43940348.9050208@wxs.nl> <43943696.2000002@gmail.com> <43944FAA.4040302@wxs.nl> <4394F1AB.5000506@gmail.com> <4394F78B.1040801@gmail.com> <439852AD.3030708@gmx.de> <439896E1.6080403@gmx.de> <4398E99B.9060600@gmail.com> <4399621C.5020702@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1134136210 14419 80.91.229.2 (9 Dec 2005 13:50:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2005 13:50:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 09 14:50:04 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ekiaf-0008RT-MA for gctc-ntg-context-518@m.gmane.org; Fri, 09 Dec 2005 14:47:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB37E127D0; Fri, 9 Dec 2005 14:47:12 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04383-04; Fri, 9 Dec 2005 14:47:09 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E2423127C1; Fri, 9 Dec 2005 14:47:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38425127C1 for ; Fri, 9 Dec 2005 14:47:07 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04394-03 for ; Fri, 9 Dec 2005 14:47:06 +0100 (CET) Original-Received: from sunm.shcnc.ac.cn (sunm.shcnc.ac.cn [159.226.128.8]) by ronja.ntg.nl (Postfix) with SMTP id 5E17E127B1 for ; Fri, 9 Dec 2005 14:47:04 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id 72EDA10FC0D8 for ; Fri, 9 Dec 2005 22:50:05 +0800 (CST) Original-Received: from [202.127.19.74] (unknown [202.127.19.74]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id 26F1410FC0D5 for ; Fri, 9 Dec 2005 22:50:04 +0800 (CST) User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4399621C.5020702@gmx.de> X-Virus-Scanned: by AMaViS 0.3.12 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24241 Archived-At: Hi, Tobias Burnus wrote: > Hi, > > Xiao Jianfeng wrote: > >> Maybe it is beacuse of the encoding of your .tex file. >> The encoding of my tex source file is cp936 and I edit with gvim. >> ConTeXt compiles OK when processing Chinese. I din't use=20 >> \enableregime[utf] or \language[cn] to typeset Chinese. > > Ok this works. Another possibility is to use the script by Lutz (see=20 > link in the wiki) which converts UTF8 to gbk. > However, both solutions have the drawback that e.g. "=C3=A4" does not g= et=20 > typset (there is no =C3=A4 in gbk). > > What would be needed to get UTF-8 input running with Chinese? > > Tobias > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > If you use vim to edit your tex file, maybe you can try "set=20 encoding=3Dutf8", then save and compile. As far as I know, GBK is compatible with unicode. I'm not sure if it works or not. I don't konw too much about encoding. Regards, xiaojf