View Single Post
  #2  
Old 09-15-2004, 03:45 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
It's not a bug, as the Replace in File action is only intended for replacing text in text files. If it ever did work for binary files it was only incidental. Most likely the reason it no longer works is that VBP (as of 5.0) is a Unicode app, and the file contents are converted from the specified code page / encoding to Unicode, processed internally as a Unicode string, and converted back to the specified code page when writing the changes back out. This is necessary to properly support Unicode, but obviously won't work for non-text files.

We'll consider adding support for binary file search and replacement in a future release. For now, you can use a tool such as XVI [1] that is designed to support replacements in binary files and provides a command-line interface for automating it.

[1] http://www.chmaas.handshake.de/delph...vi32/xvi32.htm
Reply With Quote