I think people need to realize that you can be against both these things.
Firstly, no one should ever get killed even if their views are very offensive, racist etc..
Secondly, people who support Charlie Hebdo and say it is freedom of speech. But freedom of speech is not freedom from consequences. Charlie Hebdo is racist there is no doubt. They have made caricatures in the past of refugees, black people, immigrants etc.. Not to mention that France is a very racist place to be a minority. Racism there is much worse than UK.
Charlie Hebdo has made many caricatures which should all have been taken down. Remember the one of the refugee child that drowned and effectively said 'Good he was dead he would have been a rapist anyway' suggesting that all migrants are rapists. Also why are Charlie Hebdo so obsessed with drawing photos of him? In Islam, photos are prohibited of Prophets I am certain in Islam. In effect they are saying we know your religion more than you and can portray in any way we see fit as they have done in the past with immigrants, black people, migrants etc..
Why cannot people understand that you can be against both. No one deserves to die for their views no matter how racist they are. Also, using freedom of speech to attack minority groups is hardly freedom of speech it is bullying other groups which makes racism much worse in countries like France reinforcing stereotypes like immigrants are evil, migrants are rapists etc.. Racism is rife in France for: Muslims, Jewish people, Black People, non French people etc...