At 08:00 +0200 on 10/21/2012, Andrew Brown wrote about Re: Batch
convert to utf8:
On 20 oct. 2012, at 20:34, Rich Siegel wrote:
Add a Replace All action to your text factory, which searches for
"charset=iso-8859-1" (or whatever specification it is that occurs
in your documents; check first) and changes it to specify UTF-8.
Tried two Replace All in one Factory
<!doctype(.+?)>
<meta(.+?)>
and got "Insufficient memory to complete this operation".
Worked ok one at a time in Multi-File Search.
I still don't see why error messages cannot be copied, but I suppose
that all developers have a team devoted to keeping the user in his
place.
AB
Here are the two statements that need to be altered:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<?xml version="1.0" encoding="utf-8"?>
DOCTYPE does not have any indication of what character set the file
uses so I do not know why you were checking it. If you do multi-file
search but code SAVE and DO-NOT-PROMPT you will not run into a
insufficient memory error (it only is handling one file at a time as
opposed to the LEAVE OPEN option).
--
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>