I'm trying to develop HTML base editor equipped with browsing local files function. I know basically that is restricted by browser to open local files. However I found out some method doing this activity. using path begin from "localexplorer://" it works perfect for English path name. But when I use Japanese folder name or file name it becomes error. I tried to convert SJIS format that file names but this is not work. Here is code.
[![error[![\]\[1\]][1]][1]][1]url = 'localexplorer:' + event.target.innerText;
array = str2array(url);
sjis_array = Encoding.convert(array, "SJIS", "UNICODE");
sjis= Encoding.codeToString(sjis_array);
window.open(url, '_blank');