svg file containing non ascii character with draw on windows



   >From mailnull  Fri Apr 26 12:45:31 2013
   Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of math.utexas.edu designates 146.6.25.7 as permitted sender) client-ip=146.6.25.7; envelope-from=maxima-bounces at math.utexas.edu; helo=ironclad.mail.utexas.edu;
   From: Mario Rodriguez <biomates at telefonica.net>
   Date: Fri, 26 Apr 2013 14:44:20 +0200
   CC: <maxima at math.utexas.edu>
   Reply-To: <biomates at telefonica.net>
   Content-Type: text/plain; charset="utf-8"

   El vie, 26-04-2013 a las 08:52 +0200, jfr.maurel at gmail.com escribi?:
   > 
   > This does not seem to work for me.

   > s1:gr2d(file_name="c1",
   >          user_preamble = "set encoding locale",
   >          terminal='svg,
   >          dimensions=[300,300],
   >          font="Courier New",
   >          font_size=10,
   >          key="102Cr6",
   >          explicit(f102Cr6(x),x,xmin,xmax),
   >          key="90MnCrV8",
   >          color="red",
   >          explicit(f90MnCrV8(x),x,xmin,xmax),
   >          title="durete = f(temp?rature de revenu)",
   >          xlabel="Tr (degC)",
   >          ylabel="durete (HRC)"
   > )$
   > draw(s1)$


   Since you are working on a Windows system, try

   user_preamble = "set encoding iso_8859_1"

I am curious: maxima runs inside a cygwin shell on windows, doesn't
it? Shouldn't the shell be setting this locale information correctly?
or, in other words, can't the locale be set in the script that
launches maxima?

The reason that I ask is this: with linux+gcl and with my default
locale of en_US.UTF8, the above command works fine without the
user_preamble line.

Leo