This original 1969 film starring Inger Nilsson and Maria Persson is based on the book, Pippi Longstocking, by Astrid Lindgren.
"A mysterious young girl, Pippi Longstocking, moves into the abandoned Villa Villekulla. The redheaded Pippi, living alone but for a monkey called Mr. Nilsson and her horse Little Old Man, befriends two neighboring children, Tommy and Annika. Soon inseparable companions, the three youngsters embark upon a series of colorful escapades, which turn the small Swedish town upside down. Local busybody Miss Prysselius schemes to have Pippi put into a children's home, and sets the town's bumbling cops Kling and Klang on her with riotous results!" -- Wikipedia