On Apr 18, 2007, at 20:54 UTC, Christian Miller wrote:

> If I save "high ASCII" characters

There are, of course, no such thing.  But I'll assume you mean
non-ASCII characters.

> in a text file via a  
> TextOutputStream (UTF-8), TextEdit will display the characters  
> incorrectly unless one goes into the TE preferences and tells it to  
> open files as UTF-8.  On the other hand, TextWrangler opens the file 
> just fine.

That would just be a difference in their default assumptions.  I'm sure
you can go into the TextWrangler preferences and change things to make
it open these files incorrectly, too.  :)

> Is there something I can do to the file while/after  
> saving to get TextEdit to display the file contents correctly?

The only thing to try is writing out a byte-order mark.  See question
10 in
<http://support.realsoftware.com/listarchives/realbasic-nug/2004-02/msg00615.html>.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to