Fixing special character problem in mac