The emperor of the Tang Dynasty did not eat carp mainly because of crime. In addition to this reason, it is also because the emperor's surname is Li, and the word "carp" in "Carp" is Li's homonym. Therefore, the emperors of the Tang Dynasty did not eat carp, so we have to say that the ancient emperors were too literal about China culture. If we are so prosperous in modern times, there will be a lot of animal meat that can't be eaten. It can be seen that the emperor had too many taboos at that time.
In ancient times, perhaps the emperors themselves did not eat these two kinds of meat products, but there was no rule that people were not allowed to eat pork and carp. People in the Tang Dynasty like to eat fish and sashimi, which is the most representative Japanese cuisine. At that time, there were many carp, and the fish was really delicious, but because of the name, after carp, this kind of fish was only available to the royal family, and most people were not qualified to taste it. Of course, this ban did not exist throughout the Tang Dynasty, at least in Li Shimin's time.
It is almost impossible for Ming emperors not to eat pork. After all, our habit of eating pork has been handed down from ancient times. In this case, if the emperor forbids people to eat pork, it will certainly cause many people's dissatisfaction, but this is not resistance, but it is not good for the emperor. Faced with this situation, Zhu Yuanzhang made a small change, that is, he changed the name of the pig, avoiding the situation that people can't eat meat and avoiding the harm of royal majesty.