Le 15/04/2019 à 11:01, P M a écrit :
sorry... I pressed the "send" button accidently


...interesting.....so it is possible to  printf(" Unicode \n")      ?

Sure. (matrices of) strings and UTF-8 support are one of the big assets of Scilab.


printf(<<...>>)  // creates an error as expected

printf("<< ... >>") and printf(" ... ") // doesn't change anything compared to printf(" .. ")

I probably misunderstand...

The input in your message are regular ascii characters. The difference is here:

--> printf("<< ... >>") // ascii
<< ... >>

--> printf("« … »")
« … »

--> s = "ScilabはUTF-8文字を受け入れます"
 s  =
 ScilabはUTF-8文字を受け入れます

--> printf(s)
ScilabはUTF-8文字を受け入れます

--> part(s,13:$)
 ans  =
 文字を受け入れます

-->

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to