I am trying to pass INCI names (perhaps my first mistake) to the OpenFDA api. Some INCI names give me something to work with; however, others I think are not really passable, even after replacing spaces with + or even passing the string through php's urlencode() function.
Some examples follow: Acrylates/Ammonium Methacrylate Copolymer 2-Amino-3-Nitrophenol 2,3-Naphthalenediol 1-Naphthol 1,2-hexanediol
Notice the commas and slashes (don't think the dashes matter).
I am working on using another identifier, like unii, but meanwhile is there a good quick fix I've totally missed? Will the "exact match" strategies provide some relief?
Hopefully my "new to programming" status is not overly glaring in my question.