It is a (maybe marginal) problem for long duration space flights that hydrogen fuel leaks through its containing tank. I suppose it is because a hydrogen atom some of the time loses its electron and a free proton is so small that it is hard to stop with a physical barrier. But if the container had a positive electric charge, it should repel protons. One might lose electrons and get ionized hydrogen, but electrons have almost no mass and it should not be too difficult to recombine ions to atoms.
So how does this work, I have no clue, as you who do obviously realize by reading this ;)