I know the title is weird but I have not better clue to summarise the question. Essenrtially, I have a list of characters in R. However, when I use %in% to check if the characters from the list are in the list, some returned TRUE while others returned FALSE.
#to simplify I only show two:
my_list = c("Chapman University System", "State University of New York (SUNY) System")
"Chapman University System" %in% my_list #TRUE
"State University of New York (SUNY) System" %in% my_list #FALSE
Both the character I use for checking and the list are chacters (correct data type) and when I read the list I use encoding = UTF-8.
Any suggestion why this occur or at least how can I trouble-shoot why this happen?