At 09:49 -0700 9/30/11, Fletcher Sandbeck wrote:

Remember that bbedit works with everything as 16 bit unicode.  There, all line 
ends are Apple style 000D entries.

Regardless of what will come out on a save you have to check for 0D while it's 
in memory.

It was once true that, for Apple machines, 熟, with an OPTION d greek delta as 
the escape character, was 0D.

Sometime, about when the neXt folks took over, the delta became a \ for the 
escape as in UNIX and you need to use \r in memory for new versions of bbedit.

So....


search for \r and replace with ;\r in memory.  bbedit will honor your choice of 
\n = 0A when saving the file.

What happens with the other two 16 bit line ends in unicode is undetermined.

-- 

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to