Open JiaChen-Zeng opened 7 years ago
The compilation error still occurs when I manually compile using cmd, so this one is not the extension's bug.
The first one, I think, is the same as https://github.com/red/VScode-extension/issues/6 , which has been fixed and is available on master branch (probably not yet released as an update, so you would have to use it manually).
The compilation error still occurs when I manually compile using cmd, so this one is not the extension's bug.
I think Red
does not support chinese characters in path, so IMO you should open a bug report on the main red/red repo if not done already.
I have tried to set red path which contains the chinese characters on windows, it worked , so this should be not a bug. @qtxie
This seems to be because rebol
does not support unicode/chinese properly.
Once red is rewritten in red, then this should work.
Demo - I created a folder using some chinese characters I picked up from this issue, and then - Rebol -
>> probe system/options/path
%/C/Users/alpha/Desktop/???/
Red -
>> probe system/options/path
%/C/Users/alpha/Desktop/某用户/
Note that rebol displays chinese as question marks.
Also - Rebol -
>> do %t.r
** Access Error: Cannot open /C/Users/alpha/Desktop/???/t.r
** Where: halt-view
** Near: do %t.r
Red -
>> do %t.red <-- This works fine.
Interpret(F6):
Compile(F7):