[scilab-Users] Accents on printf

François Vogel fvogelnew1 at free.fr
Tue Sep 29 23:27:10 CEST 2009


Osvaldo Sergio Farhat de Carvalho said on 29/09/2009 20:44:
> 
> When I execute a program from Scipad with a printf with a format string 
> with accents, conversion codes after the first accent are ignored.

This is not a Scipad bug. It is a Scilab 5 bug.

Proof: put your code:

> n = 5;
> printf("\n%d! est égal à %d",n,factorial(n))

in a file printfbug.sce and then from Scilab:

-->exec "printfbug.sce";

5! est égal à %d
-->

> Are there any restrictions on the use of accents on printf?

Well, you have just found a regression in Scilab 5 that does not 
happen with Scicoslab.

Francois



More information about the users mailing list