Page 1 of 1
[bug?]xincludefile cannot have Chinese or Asia characters
Posted: Wed Oct 18, 2023 4:59 am
by loadstone
Under the new version 6.03 final:
The directory contained after xincludefile (includefile) cannot have Chinese or Asia characters, otherwise it will prompt that the file cannot be found. However, double-click on the ide to open the file. The file exists and the directory is correct
For example:
xincludefile D:\其他程序\PUREBASIC\include\GetCpuUsage.pbi
(File not found )
6.02 final Compilation passed
In addition, there will be an error prompt when running and exiting the IDE under the 6.03 final version of xp!
Re: xincludefile cannot have Chinese or Asia characters
Posted: Wed Oct 18, 2023 7:45 am
by Sergey
The same in Russian
viewtopic.php?p=605652#p605652
As an option, turn on the beta version of Windows, after which the file is located
Re: xincludefile cannot have Chinese or Asia characters
Posted: Wed Oct 18, 2023 9:25 am
by juergenkulow
Re: [bug?]xincludefile cannot have Chinese or Asia characters
Posted: Tue Oct 24, 2023 4:37 am
by loadstone
up
Re: [bug?]xincludefile cannot have Chinese or Asia characters
Posted: Tue Oct 24, 2023 4:49 am
by idle
If you compile from the command line does it work?
It might be possible that its changes in the IDE causing the issue.
Re: [bug?]xincludefile cannot have Chinese or Asia characters
Posted: Tue Oct 24, 2023 6:03 am
by juergenkulow
Code: Select all
PureBasic 6.03 LTS - C Backend (Linux - x64)
Loading external modules...
Loading 'c' subsystem
Starting compilation...
Including source: /tmp/其他程序/test.pb
2 lines processed.
Creating the executable.
- Feel the ..PuRe.. Power -
Re: [bug?]xincludefile cannot have Chinese or Asia characters
Posted: Tue Oct 24, 2023 9:13 am
by Fred
I will take a closer look, the compiler on Windows isn't using Unicode file function for now, so as we change the communication between the IDE and the compiler as UTF8, it could be the issue.
Re: [bug?]xincludefile cannot have Chinese or Asia characters
Posted: Thu Oct 26, 2023 4:30 am
by loadstone
Fred wrote: Tue Oct 24, 2023 9:13 am
I will take a closer look, the compiler on Windows isn't using Unicode file function for now, so as we change the communication between the IDE and the compiler as UTF8, it could be the issue.

thanks!
Re: [bug?]xincludefile cannot have Chinese or Asia characters
Posted: Sat Dec 16, 2023 6:20 am
by loadstone
6.04 final demo
@fred
6.03 compilation prompt from can not find the directory,6.04 version click to compile becomes unable to open the directory, the Chinese directory in the error prompt is still garbled,6.02 Everything is ok
