I'm working with internationalized filenames in my C-program. There's particularly my piece of code where I create file with Chinese symbol:
int fd = open("/tmp/⺴", O_WRONLY | O_CREAT | O_TRUNC);
This function works well and file is created in spite that my system locale is Russian (LANG=ru_RU.UTF-8).
Why is this file created while my locale seems to not support codes of Chinese symbols? In this case what's the field which is influenced by system locale?