<html><body>
<p>Thanks, François. <br>
<br>
By the way, there is also a (perhaps related) bug with the input statement. The statement:<br>
<br>
<font face="Courier New">s = input("s =  ","string")</font><br>
<br>
shows the following behaviour on Scilab when you type a string with special characters:<br>
<br>
<font face="Courier New">s =  François</font><br>
<font face="Courier New"> s  =</font><br>
<font face="Courier New"> </font><br>
<font face="Courier New"> Fran </font><br>
<br>
If you try this you will also note that the leading blanks on "s =  " only appear after you press Enter.<br>
<br>
I hope the development team will fix these bugs soon. In Brazil, as in France, we need to deal with special characters all the time.<br>
<br>
Osvaldo<br>
<br>
<br>
<br>
<br>
<img width="16" height="16" src="cid:1__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt="Ocultação de detalhes inativa deFrançois Vogel ---29/09/2009 19:55:26---Osvaldo Sergio Farhat de Carvalho said on 29/09/2009 20"><font color="#424282">François Vogel ---29/09/2009 19:55:26---Osvaldo Sergio Farhat de Carvalho said on 29/09/2009 20:44:</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2" color="#5F5F5F">De:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2">François Vogel <fvogelnew1@free.fr></font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Para:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2">users@lists.scilab.org</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Data:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2">29/09/2009 19:55</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Assunto:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0CBBFCD3DF1171428f9e8a93df@grude.ufmg.br" border="0" alt=""><br>
<font size="2">Re: [scilab-Users] Accents on printf</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt>Osvaldo Sergio Farhat de Carvalho said on 29/09/2009 20:44:<br>
> <br>
> When I execute a program from Scipad with a printf with a format string <br>
> with accents, conversion codes after the first accent are ignored.<br>
<br>
This is not a Scipad bug. It is a Scilab 5 bug.<br>
<br>
Proof: put your code:<br>
<br>
> n = 5;<br>
> printf("\n%d! est égal à %d",n,factorial(n))<br>
<br>
in a file printfbug.sce and then from Scilab:<br>
<br>
-->exec "printfbug.sce";<br>
<br>
5! est égal à %d<br>
--><br>
<br>
> Are there any restrictions on the use of accents on printf?<br>
<br>
Well, you have just found a regression in Scilab 5 that does not <br>
happen with Scicoslab.<br>
<br>
Francois<br>
</tt><br>
<br>
</body></html>