Re: TextEdit Find/replace Caps
Re: TextEdit Find/replace Caps
- Subject: Re: TextEdit Find/replace Caps
- From: Christopher Nebel <email@hidden>
- Date: Wed, 6 Jan 2010 17:02:39 -0800
On Jan 3, 2010, at 1:32 AM, ba95 wrote:
> In a simple search/replace script, in TextEdit, is it possible make the difference between lowercase and appercase (f. e. between "a" and "A").
>
> Example
> -- set TheText to my SearchReplace(TheText, "√®", "è")
If that example is one of actual interest to you, then you'd be better served by opening the document using the correct encoding, in this case, UTF-8. In the Open panel, set the Plain Text Encoding popup to "Unicode (UTF-8)" instead of "Automatic", or change it in the preferences if you're running into this with a lot of files. (If you're the one generating the document in the first place, did you really want it to be UTF-8? There are ways to change that.)
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden