Merge "Change the way to convert wchar_t* to char* in CopyToCharArrayN()" into tizen_2.1