Reply To: Character 255

Product Compare Forums Multi-Edit Support Character 255 Reply To: Character 255

#5047
deleyd
Participant

Reid Sweatman had this to say about 0xFF in a post dated Aug. 10, 2003:

The 0xFF character has a special meaning to Multi-Edit, but if you’ve opened a file in binary mode, the only way an 0xFF character could be present is if it were part of your data, as loading in binary mode prevents the normal translation of tab (0x09 or \t) characters into sequences of 0x09 followed by 0xFF that occurs when a file is loaded as a non-binary file (whether there are any tabs of any sort present will depend on the tab/space translation settings applicable to that file when it was last saved).

And in another more recent post he says:

One thing I would observe that might be pertinent: if there are tabs present in a Multi-Edit line, the regex you want to use to match generic space is [ \t\xFF], as Multi-Edit uses 0xFF as a “virtual tab” placeholder. Those characters are actually present during editing, although they don’t get saved to disk along with the real tab; they’re just part of the mechanism the program uses to handle tabs, and you have to account for them in regex searches.