In searching for batch text conversion on the Macintosh I found that you can use the textutil utility, inlcuded in Mac OSX 10.4 or better, for converting text from one format to another.
The terminal string I used, which worked great and was tons quicker, was:
find . -name *.txt -exec textutil ...
Search found 4 matches
- Tue Aug 26, 2008 9:35 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Importing text file
- Replies: 5
- Views: 4500
- Fri Aug 15, 2008 4:41 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Importing text file
- Replies: 5
- Views: 4500
That did it.
BvG - your suggestion worked.
Thanks.
Thanks.
- Fri Aug 15, 2008 3:25 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Importing text file
- Replies: 5
- Views: 4500
Thanks Mark
That did help in that it did get rid of some extra characters, but the extra spaces remain. Very strange issue. I have tried different encodings and most of them show the added spaces except the Unicode 5 (Little Endian). However, even with that selected the "put" command still adds the spaces.
Any ...
Any ...
- Thu Aug 14, 2008 10:01 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Importing text file
- Replies: 5
- Views: 4500
Importing text file
Setup -
Mac OS X 10.5.4
Revolution Studio 2.9.0
Something strange is happening when I open a text file (saved as Windows TXT) and put the text of the file into a field (set to use Courier 12pt). The text gets placed okay, but there is a space in between each letter of each word. Very bizarre ...
Mac OS X 10.5.4
Revolution Studio 2.9.0
Something strange is happening when I open a text file (saved as Windows TXT) and put the text of the file into a field (set to use Courier 12pt). The text gets placed okay, but there is a space in between each letter of each word. Very bizarre ...