I did wonder about Javert. How likely would it have been in that day and age for a black man to rise to the position of being a police inspector ?
His promotion was probably helped by the fact that the actor playing him, David Oyelowo, was also one of the producers. Friends in high places and all that.
On the theme of the racial diversity of the cast I was going to point out that Victor Hugo was himself mixed race until I realised it wasn't him who was but that other French novelist of the same era, Alexander Dumas (Three Musketeers) who was the descendant of an Afro Caribbean slave.