I have a program that grabs some strings from a location and puts them in a list. I also have an "exclusions list" that loads from a file. If the current string is in the exclusions list, it gets ignored.
In my exclusions list file, I have this string:
Something ›
Note, that is not a typical angle bracket. It's a special character (dec value 8250)
When I run this in Eclipse, everything works perfectly. My program sees that the Something ›
is in the exclusions list and ignores it. However, when I build and run my program as a jar, the Something ›
does not get ignored. Everything else works fine, it's just that one string.
I'm assuming it's because of the ›
, which means it must be encoding related. However, I have the text file saved as UTF-8 (without BOM), and my eclipse is configured as UTF-8, too. Any ideas?