Setting locale failed on Mac OS X Mavericks

If you using Mac OS X (in my case, I’m using Mavericks), during SSH session, you may see this kind of error in your terminal:

To solve this, edit .bash_profile file in your host/local machine

and add this line:

CREDIT TO : Agile Faqs

Any Comments?