There are straight quotes: ' or "
and there are curly quotes: ‘ and ’ or “ and ”
"curling" then just means "figuring out whether it's an opening or closing quote"