visuald-1.3.1在windows上使用非英文字符文件名称无法编译问题修正 另外问2个问题
confuzzled
con at fuzzled.com
Sat Nov 26 03:13:06 UTC 2022
On Friday, 25 November 2022 at 10:28:07 UTC, Hipreme wrote:
> On Thursday, 24 November 2022 at 01:10:59 UTC, mm wrote:
>> 大家好 hello everyone
>>
>> 1 visuald-1.3.1 Correction of the problem that the file name
>> with non English letters cannot be compiled on Windows
>> 1 visuald-1.3.1在windows上使用非英文字符文件名称无法编译问题修正
>>
>> [...]
>
> Are you just starting in D development? This doesn't feel like
> a problem on visual D, but rather on D compilers itself. I just
> tried a hello world in trying to import a japanese named file
> but doesn't seem to work too
This is not a D Compiler issue. Here's my test that compiles and
runs without issues.
平仮名.d
--------
```d
import std.stdio;
void 挨拶()
{
writeln("D言語へよこそ。一緒に世界を変えましょう。");
}
```
test_uni.d
----------
```d
import 平仮名;
void main()
{
挨拶();
}
```
Output:
-------
```
$ dmd test_uni.d 平仮名.d
$ ./test_uni
D言語へよこそ。一緒に世界を変えましょう。
```
More information about the Digitalmars-d-ide
mailing list