pali

Results 504 comments of pali

> * now we use OS functions for conversion between ANSI and Unicode, so it will not be a simple update for switch to something like **iconv-lib** for this. To...

I see that some ODBC drivers support `IANAAppCodePage` attribute for specifying (fixed) encoding of ANSI functions. Value of `IANAAppCodePage` is not string, but rather number from mapping table https://www.iana.org/assignments/character-sets/character-sets.xhtml So...

> As mpq.cpp is slightly complicated it isn't too easy to fix it. Especially the cryptic code that looked like it was translated by an x86 ASM to C converter....

Are `configure` and `Makefile` files working on Windows? If yes, then it should be extended in way that `wine` is never used/tried on windows and tests are started without wine....

> Would `wine` complain about `wine ./test.exe`? No, that is perfectly fine. You can either call `wine test.exe` or `wine ./test.exe`. But you *cannot* call just `./test.exe` as windows PE...

When `WINE` is not set by `configure` on non-Windows then you should not run just `./test.exe`. And seems that your change will do it.

I mean, that running `make test` on Linux should always use wine. But when wine is not installed/not-available then patch in this pull request would run `make test` without wine....

It is connected with both `configure` and `Makefile` files. Seems that empty value for `WINE` variable is used for two different things: 1) wine was not found and is required...

Error code 18 is ERROR_NO_MORE_FILES. So LoadLibraryA failed with error "There are no more files.". Which looks very strange.

> What's the behavior on Unix-like OSes? Do they use C locales to decide what encoding/code page to use? No, on Unix path is simple sequence of octets. > Considering...