From hin-tak.leung at cimr.cam.ac.uk  Thu Oct 12 12:36:32 2006
From: hin-tak.leung at cimr.cam.ac.uk (Hin-Tak Leung)
Date: Thu, 12 Oct 2006 11:36:32 +0100
Subject: [Rd] Bug in 2.4.0 Windows menu setup (PR#9277)
In-Reply-To: <Pine.LNX.4.64.0610091258200.24252@gannet.stats.ox.ac.uk>
References: <20061005025158.19A9C20804@slim.kubism.ku.dk>
	<dc41e1260610050506i3b65913ifca644ebd0b690e4@mail.gmail.com>
	<4525075D.4040102@stats.uwo.ca> <452693D4.2010905@cimr.cam.ac.uk>
	<4526954A.7050509@stats.uwo.ca>
	<Pine.LNX.4.64.0610091258200.24252@gannet.stats.ox.ac.uk>
Message-ID: <452E1AB0.9090808@cimr.cam.ac.uk>

Prof Brian Ripley wrote:
> On Fri, 6 Oct 2006, Duncan Murdoch wrote:
> 
>> On 10/6/2006 1:35 PM, Hin-Tak Leung wrote:
<snipped>
>>> I would propose correcting the encoding of the *content*, rather
>>> than the charset tag, so that Rgui-* all uses localised ones (CP932,
>>> CP936, CP949, CP950). That should be better for older windows...
> 
> That was the intention, but the translator marked it incorrectly, and it 
> appeared to be valid CP936 so not picked up by me.
> 
<snipped>
> 
> I need to sort out with the translator a valid CP936 version of that 
> file: it contains a character that is not in CP936.

Hi. There is one invalid character at line 855. Here is the patch,
the corrected utf-8 version (against 2.4.0, without changing the
charset tag...), and the correctly converted CP936
(a.k.a. GB2312 or EUC-CN) version.

I have checked round-trip conversion with CP936<->utf-8 with both
iconv and Ken Lunde's cjkvconv.pl .

You can either apply the patch, or just replace what is in the R
source with the EUC-CN version. (the latter would be my preferred
solution, but since it is sort of "unnessarily large change",
I'll live with the former...).

Hin-Tak Leung


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: RGui-zh_CN.po.euc-cn.corrected
Url: https://stat.ethz.ch/pipermail/r-devel/attachments/20061012/ce62e689/attachment-0006.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: RGui-zh_CN.po.utf8.corrected
Url: https://stat.ethz.ch/pipermail/r-devel/attachments/20061012/ce62e689/attachment-0007.pl 


[Rd] Bug in 2.4.0 Windows menu setup (PR#9277)
Hin-Tak Leung