Rapunzel says that one of her birthday lanterns has her name embroidered on it, and King Frederic refers to her as "Rapunzel" in his letter to her. However, she was stolen as a baby and it was Mother Gothel who gave her that name, so no-one in Corona could have possibly known it.