Hello
I am trying to write text into text file stored on my SD card using arduino uno
the SD card is placed inside the smartGPU screen and I am using their library to write.
the smartGPU screen is on top of my arduino.
Since you didn't post a link to the library you are using, we can only guess at what the arguments mean. The second one appears to tell the function to write 100 bytes to the file, regardless of how many are actually in the array in the first argument. Why would you do that? Why does the function (appear to) get told to store the number of bytes written into a variable called bytesRead?
No clue what WORKSPACE0 means.
the library write the english text into chinese !!!
Perhaps because the library was written by the Chinese? Post a link to it.
PS. Why are there no Serial.print() statements in that snippet? Perhaps there would be a clue.