Hi,
fpcres fails on Windows with paths containing non ASCII characters. The compiler itself happily compiles units. FPC 3.0.0 and 3.1.1.
Is that a regression?
Mattias

Mailing lists / fpc-pascal / 2015-12
5 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
fpcres fails on Windows with paths containing non ASCII characters. The compiler itself happily compiles units. FPC 3.0.0 and 3.1.1.
Is that a regression?
Mattias
I don't think so, since that has probably never worked correctly.
Michael.
Is there any FPC tool that supports Unicode file names on Windows?
Mattias
The title of the message and your latest questions talks about unicode "Unicode", but in your original text you talk about "non-ASCII". Did you mean "non-ANSI"?
No FPC tools contain any platform-specific file handling, nor do they change any of the Default.*CodePage settings. They all use either ansistrings or shortstrings.
Jonas
Sorry for the confusion.
The compiler itself seems to support the Windows console codepage (file names and output), which I guess is ANSI, so more than ASCII (#32-#126), but not Unicode.
fpcres seems to only support ASCII, which surprises me. Either my tests are wrong or fpcres is more limited than the compiler.
No FPC tools contain any platform-specific file handling, nor do they change any of the Default.*CodePage settings. They all use either ansistrings or shortstrings.
Thanks, that answers my second question.
Mattias