Hi, all. I've got a file with some things like this:
(The "?" is a \x3f)
Needless to say, Ruby barfs all over that. There are also *other* invalid strings in the file. (Thanks, Framemaker.)
Now, I know I can use #scrub to make the file palatable, but what I *really* want to do is to take the "<83>?<9B>", and swap it with a \u2022 (unicode bullet), and then use #scrub on the rest of the invalid stuff. But I can't figure out how to do that; I admit I get out of my depth when dealing with encodings. Ruby 2.3, if that matters.
Thanks for any pointers,