GNOME Bugzilla – Bug 342537
Replace across files fails some cases.
Last modified: 2006-08-27 02:01:31 UTC
Global replace across multiple files has an unusual behavior if you're searching for some characters and replacing it with some other characters. Test case -- make two files. They are similar save for the fact that the latter has one less character. Note that the lines end with the "registered" symbol, or the "trademark" symbol. First file: FOO BAR® FOO BAR™ FOO BAR® FOO BAR™ Second file: FOO BAR FOO BAR™ FOO BAR® FOO BAR™ Do a Search and Replace for TM, replacing it with ™. The second replacement on the second file will look like this: FOO BAR FOO BAR™FOO BAR® FOO BA™ I'm suspecting that a char offset is being used on multibyte strings, or something like that.
This appears to be working fine in CVS. Can you check that one? Cheers, Dave
Marking this as a duplicate of the just fixed http://bugzilla.gnome.org/show_bug.cgi?id=352762 in the 1.0.x branch of CVS. This bug is not present in CVS HEAD. *** This bug has been marked as a duplicate of 352762 ***