Dear Allin and Hélio,
At first I would like to thank you for your response :-) Well, the problem
only occurs on Windows plataform (I'd tested on Mac OS X and it worked
fine). But this is not a big deal (at least for me), I can put non accented
characters on the names of the graphs.
Um abraço,
Henrique
2010/9/2 Allin Cottrell <cottrell(a)wfu.edu>
On Thu, 2 Sep 2010, Hélio Guilherme wrote:
[in response to Henrique, see below]
> I tested your script under ubunto with CVS build and did not reproduce
your
> bug.
>
> Used both Portuguese variants.
>
> You forgot to mention your operative system.
I have an idea of what might be wrong here, which is consistent
with this experiment working on Ubuntu but not on Windows. A gretl
graph is saved in the form of a text file containing the gnuplot
commands, inside the current (hidden) session directory. The thing
is that the filename is (I think, I'll have to check) the same as
the name chosen for the graph.
So if Henrique saved a graph under a name which contained UTF-8
accented characters (inside gretl, everything is in UTF-8), these
would turn into weird stuff on the Windows file system (Windows
never uses UTF-8), and gretl would then be unable to find the file
again.
If that's the correct diagnosis, I guess the fix is either (a)
insist that graph names are ASCII (maybe unpopular) or else (b)
don't use the graph name to name the associated file of gnuplot
commands. This is of course a bother because it means we have to
find some other way of keeping straight which file goes with which
graph. Now if Windows "got with the program" and used UTF-8 we'd
be fine...
Henrique's message:
> > I think I'd found a bug when plotting a graph. Please take a look at
the
> > following script:
> >
> > <script>
> > open australia.gdt
> > "Gráfico" <- gnuplot PAU {set title "Australian price
level";}
> > --time-series --with-lines --output=display
> > </script>
> >
> > The plot called "Gráfico" cannot be opened in the Gretl icon view.
The
only
> > way it works is taking away the accented name (using "Grafico"
instead
of
> > "Gráfico").
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
--
Henrique C. de Andrade
Doutorando em Economia Aplicada
Universidade Federal do Rio Grande do Sul
www.ufrgs.br/ppge