IDE cannot compile projects with FPC if path has national symbols
Original Reporter info from Mantis: daesher
-
Reporter name: Vasily I.Volchenko
Original Reporter info from Mantis: daesher
- Reporter name: Vasily I.Volchenko
Description:
If path to the project has national symbols, the strange error - panic, internal error "Failed to execute: 267" happens.
Tested with trunk FPC, but it is not an FPC issue: FPC can compile files being called from command prompt from that directory or from outer directory with the partial path.
This is true for national symbols having 2 bytes in UTF-8, like Russian. Seems that some UTF-8 <-> ANSI/OEM processing is broken in fpc process connecting code.
IDE itself (codetools etc) works fine with such a project.
Lazbuild failed to build the projects too.
Steps to reproduce:
- Create new project - may be application.
- Save the project on some path with national symbol - for example,
C:\Temp\ы<br/> - Try to build (compile, run) it on MS Windows system. The result will be the same.
Additional information:
May be, it should be moved to "compiler" category, but this is not FPC issue, so let it be in IDE by now, but LazBuild is in touch too.