I'm having problems displaying correctly text files created with BBedit or SimpleText on Mac OS X Panther. I recently upgraded to BBedit 7.1. Here is a screenshot:
If someone can recommend what settings I have to change to get the text coding to properly display in unix, I'd appreciate. Also, how can I set the tab and carriage returns to display correctly. It looks like tab was set to 4 spaces. I'm not sure if this will display uniformily on all systems. Thanks, Felipe
"Mejor morir de pie que vivir toda la vida arrodillas."<br /> Emilio Zapata
My guess is the funny characters are from the special asymmetrical quote characters. These won't work in Java, or display properly in Unix tools like pico. You can get these characters by typing option-[ and option-shift-[. A lot of word processing programs can automatically replace pairs of quote characters with the aymmetrical ones. This is often called "smart quotes". My old copy of bbedit lite, for example, has an option for this under preferences->editor defaults->smart quotes. Tab sizes can vary not just from system to system, but from program to program on the same system. I know you can set the tab size in bbedit. You probably can in pico as well. Alternatively, many more programming-oriented text editors have an option whereby when you type the tab key it will insert some some number of spaces rather than a tab character.
subject: Problems viewing source files created on Mac