Germany here, it isn't a problem at all. Some rather conservative types may give you looks, and for some jobs it might be expected for you to cut it off (to say nothing about the military, where you actually have to trim your hair to a certain length), but I work at a court and nobody has given me any real trouble so far.