A 12-week pregnant woman with chocolate cravings is certainly having a boy or a girl! however, one cannot yet tell boy from girl, and it has nothing to do with chocolate cravings.
It can be so exciting and suspenseful, not knowing the baby's gender until the birth. Remember that ultrasounds were only started in the 1960's. For thousands of years, a baby's gender was a wonderful surprise at birth!