I found an article related to this.
http://www.forbes.com/2009/01/26/hitler-cake-shoprite-oped-cx_re_0127epstein.html
I've copied it below so you don't have to open it if you don't want.
----
"What's in a name? That which we call a rose
By any other name would smell as sweet."
Romeo and Juliet, Act II, ii, 1-2
Shakespeare's profound insight that the properties of an object are not determined by the names attached to it may supply a decisive answer to the philosophical traditional of nominalism. But his immortal couplet doesn't scratch the surface on the larger question of whether the state should impose any limits on how we name ourselves or our children.
At first blush, this right to name looks to lie at the core of any sound theory of self-identification--a hot-button social issue on which most people hold strong, if implicit, libertarian views.
But a latent confusion on this question raises unanticipated difficulties. The solid part of the naming hypothesis gives each person the exclusive right to name himself or herself, or for parents to name (jointly--another potential can of worms) their children. But it hardly follows that an exclusive right must necessarily be an unlimited one. After all, my exclusive use of my own land doesn't allow me to pollute my neighbors with impunity. Quite simply, there are some names at least that have to be regarded as off limits.
The issue came to a boil in a recent episode reported in the New York Times, in which Heath Campbell vented his outrage that his local ShopRite supermarket did not bend to his will to decorate his son's birthday cake with his first two given names, Adolf Hitler. Popular sentiment turned out to run feverishly hot against Mr. Campbell, and for good reason.
Analytically, names have two distinct functions. The first is to designate one individual to the exclusion of all others, for which a nine-digit social security number will do just fine. But many names carry an expressive content, as by naming a daughter Chastity or a son Jesus. In most cases, the right response is for others to use the name even if they do not like the message it conveys.
Yet there are fuzzy limits. A name enjoys a peculiar monopoly status. It is the only moniker that anyone else can use to designate the named person. It follows therefore that names do impose what might be termed a "soft" externality on other individuals that becomes really hard to bear when the name in question forces people to be respectful to someone whom they rightly hate. No moral relativism allowed. Who wants to be polite to an Adolf Hitler?ca
This distaste gives rise to two sources of distress. In the Campbell episode, parents are guardians, not owners, of their children, and therefore have no right to saddle them with names that are sure to expose them to ridicule, if not physical danger. The long-standing law of abuse or neglect thus has unappreciated virtues in this context.
Yet the objection to the unlimited use of these names cuts deeper. Today, no adult could voluntary take the name Adolf Hitler either. This basic point is explicitly recognized under modern trademark law, which explicitly forbids any person from registering a trademark that consists of "immoral or scandalous matter."
The established case law won't let anyone register a new men's cologne under the name "Adolf Hitler." Forcing other individuals to use odious names is too high a price to pay when literally millions of other names are open to the user.
Exactly how far this trademark prohibition runs is an open question. Washington residents will be well aware of the continuing, if unavailing, 16-year struggle on the part of American Indians to set aside the Washington Redskins trademark as racially offensive and therefore conveying "immoral or scandalous matter."
At this point, the necessity to draw some line in uncomfortable places becomes painfully clear. The Indians' charge rang true with the many college teams that have dropped their Indian mascots voluntarily. Today Palo Alto plays host to the Stanford Cardinal, not the Stanford Indians.
But professional sports teams serve a different clientele, which shows no similar change of heart. Thus far the courts have rightly been unwilling to allow the affected sensibilities of some to ban a trade name that works as a positive symbol to so many others.
These vexing controversies should remind us that even limited governments have to worry about externalities that go beyond the use of force and fraud. By all means keep a strong presumption against invoking state power to veto personal or trade names. But this libertarian says, don't make it an absolute rule.
----
As for my opinion, I think that first and foremost parents must consider how the name will affect their children's life.
They must also take into consideration what images/feelings/thoughts the name evokes. RvW mentioned Jack the Ripper. If I meet someone called Jack, I don't immediately think of Jack the Ripper. There are loads of famous Jacks and it is such a common name that nobody else really enters my head when I meet someone called Jack.
I only know of one Adolf though, so of course my mind will make the connection if I meet someone with that name.
For me, Jack would be at one end of the scale (no connection to anyone bad) and Adolf at the other. Other names could be somewhere in the middle, with a meaning for some but not for others, far less black and white and far too complex an issue for me to talk about.
I think it's common sense for parents not to give the name Adolf as there is no doubt that the vast majority of people who meet their child will make the connection. And calling them Adolf Hitler, as the parent had done in the article above, leaves no doubt as to the inpsiration behind the name.
But if the parents show a lack of common sense and really want to name their child Adolf Hitler, then I agree with the New Zealand Registrar of Births, Deaths and Marriages, who basically said "no, you can't".
http://www.dailymail.co.uk/news/article-2017670/New-Zealand-bans-Lucifer-Adolf-Hitler-baby-names.html
Why risk causing grief to people sensitive to something from history by choosing a name that will clearly evoke a reaction?
And why create problems for your child when there are more than enough non-offensive names to choose from?