The original meaning of “queer”, in 16th-century English-speaking countries, referred to something strange or illegitimate, as in “there’s nowt as queer as folk” or being “in queer street”, meaning someone having financial difficulties.
Using queer to mean odd, in the 19th century, social reformer and founder of the cooperative movement, Robert Owen, famously said to a colleague: “All the world is queer save thee and me, and even thou art a little queer.”