Only encoded characters take up more space and you don't have to escape: quotation mark, semicolon, comma, colon or backslash.
So I think the difference is small. QR codes can contain quite a bit more information than what's needed for WIFI name and password.