Reputation Vs Character

I read something like this somewhere a few months ago.

Reputation is how other people see you. It is not necessarily true.

Character is who you really are.

The meaning I took was that you shouldn't fall for your reputation and if your character falls short of your reputation, chancs are one day you will be caught short. So we all need to improve our character to match or exceed our reputation.