Does the government have to compensate the money one could have earned while on trial?
For example: Jim is a full-time employee at a gas stop in the US, and is paid minimum wage. He is the only source of income for his wife and three kids. Suddenly, police officers trace a dead body back to his garbage can, and he is taken into custody. He is not able to post bail, and since he does not have the funds to hire a decent lawyer to defend him, the government provides him a third-rate lawyer, he is indicted and the trial lasts five months. The verdict is not guilty, and Jim is released.
Is Jim entitled to compensation by the for the salary he would have earned had he not been on trial?