On Sun, 14 Apr 2013, yinung at Gmail wrote:
Your guess is correct. I add "set messages off" to be the
first line, it is
then work perfectly as expected.
I've now tested the current snapshot on Windows 7 (without
"set messages off"). The script output continues to the end,
but the Chinese translation of "Generated matrix <name>" is
missing (not rendered). I've put a screenshot (plus comparison
with Linux, where all the output is correct) at
http://users.wfu.edu/cottrell/tmp/chinese/
Hard to tell where the problem might lie: intl.dll,
msgfmt.exe, pango, glib, the font used on Windows, or Windows
itself? It may be worth experimenting with a more recent
version of pango in the Windows build of gretl.
Allin
2013/4/13 Allin Cottrell <cottrell(a)wfu.edu>
> On Sat, 13 Apr 2013, yinung at Gmail wrote:
>
>> I found the following script works well in English Language mode but only
>> part of the output was shown in Chinese Language mode. The output seems
> to
>> be stopped after the fourth line (i.e., matrix Coeff = $coeff) in Chinese
>> Language mode. There are not further output beyong the fourth line of the
>> script.
>>
>> It is however that the script was executed completely. This potential
>> Chinese-only bug occurs both in gretl 1.9.12 and 1.9.12 cvs under winXP.
>> But the script work normally under my ubuntu 10.04 in Chinese Language
> mode.
>>
>> <hansl>
>> open broiler
>> list xlist = const Y PCHICK PBEEF PCOR
>> ols 1 xlist
>> matrix Coeff = $coeff
>> matrix Stderr = $stderr
>> matrix Table1 = Coeff ~ Stderr
>> colnames(Table1, "Coeff. Std.Err.")
>> rownames(Table1, xlist)
>> print Table1
>> </hansl>
>
> Strange. The Chinese output shows OK here on Linux. What
> happens if you put "set messages off" before the first
> "matrix" line?
>
> Allin
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
>
http://lists.wfu.edu/mailman/listinfo/gretl-users
>
--
Allin Cottrell
Department of Economics
Wake Forest University, NC