Who wrote smile and the world smiles with you?

Doug Gillet Not the entire song. Charlie Chaplin wrote atleast part of it. I know he composed the music. Not sure about the lyrics.