There’s just one more issue.
When I upload a file with a Japanese name through the plugin’s uploading feature, it automatically removes Japanese characters.
I guess it is related to sanitize_text_field in the coding.
(I’m not an expert in coding, but, my understanding is that we need to use $basename for sanitize_text_field part (?) for 2byte characters)
Could you advise how we can modify this so we can upload files as is with Japanese character file name?