Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chomper

macrumors newbie
Original poster
Dec 26, 2010
23
0
Central Europe
Hello,

I have a following problem with TextEdit. I have the "Opening Files" encoding set to Automatic. If the file I want to open is encoded in UTF-8, TextEdit detects it and displays it correctly. If the file is encoded in ANSI/i.e. non-unicode (namely Windows Latin 2), TextEdit opens it using Western (Mac OS Roman) encoding and the characters aren't displayed correctly. Where do I set the default encoding for non-unicode files?
 
Try the Open and Save tab in TextEdit's Preferences....

Although, I would recommend using TextWrangler for dealing with encodings, since it makes it pretty simple (along with many other features).
 

Attachments

  • prefs.png
    prefs.png
    80 KB · Views: 1,308
Thanks for the great tip! TextWrangler can do the things I need - different encodings and different line breaks (Windows/Unix). However, I have one small problem: whenever TextWrangler launches, it asks me whether I want to install some command line tools. Can I switch this message off somewhere?
 
Thanks for the great tip! TextWrangler can do the things I need - different encodings and different line breaks (Windows/Unix). However, I have one small problem: whenever TextWrangler launches, it asks me whether I want to install some command line tools. Can I switch this message off somewhere?

I would just install them (click "Yes" or "OK"), and it should go away. Doing so shouldn't hurt anything.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.