take it into one's head to do something - French English Dictionary