Search found 2 matches
- Mon Dec 07, 2009 12:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Odd behavior of read from file
- Replies: 3
- Views: 3765
Re: Odd behavior of read from file
Regarding the file encoding, it is a comma separated value file (.csv) and I don't know the encoding. How would I figure out what encoding it had? ** I've done a little research and it seems that to determine the encoding, you have to look at the first two bytes of the file. I will try to do some mo...
- Mon Dec 07, 2009 4:06 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Odd behavior of read from file
- Replies: 3
- Views: 3765
Odd behavior of read from file
I use the following statement to read a line from a text file read from file myFileName for 1 line It reads just fine, except that the return has spaces interspersed in the text. For example, the following: Here is some text! gets read as H e r e i s s o m e t e x t ! Even the spaces between the wor...