If the characters are unprintable characters, you can define them as unimportant text in Beyond Compare 4's Text Compare using a hex value.
As an example, assume the character is superscript 2, the squared symbol, with hex value 0x00B2.
- Load files in the Text Compare.
- Click the Rules toolbar button (referee icon).
- In the Importance tab, click Edit Grammar.
- In the Grammar tab, click +.
- Element name: Squared
- Text matching: \x{00B2}
- Check Regular Expression
- Click OK.
- Click OK.
- In the Grammar element list, uncheck Squared to make it unimportant.
- Click OK.
If View | Ignore Unimportant Text is turned on, differences matching Squared will show as a match (black). If it is turned off, differences matching matching Squared will show in blue.
In the above instructions, the regular expression \x{nnnn} matches on character with hex value nnnn.
References:
Unicode Character Superscript 2
Define Unimportant Text in Beyond Compare
Beyond Compare Help - Regular Expression Reference