char d to local