Add support for ukrainian cp866 to Wine and Far2l (as codepage 22866).
There is well-known Windows problem with Ukrainian letters 'I' and 'i'. They are displayed as question mark ('?') in console applications. But the most annoying thing is that these files cannot be copied with console File Managers, like Far. Proposed patch fixes it.
OEM cp866 characters 0xf6 (I ukr) and 0xf7 (i ukr) should be mapped to unicode 0x0406 and 0x0456
Since Wine uses statically compiled NLS translation, it is not possible to just fix NLS file like under Windows (http://alter.org.ua/en/soft/win/cp866u/)
In practice, there are standard CP866 with Short-U on f6/f7 and CP866ukr with Cyrilic I/i on the same places used by several non-unicode software with Ukrainian localization. Maybe it worth adding other NLS codepage (e.g. 22866) for proper localization of such software. 866ukr is mentioned in https://uk.wikipedia.org/wiki/CP866# (unfortunately, english version is not full)
Patch download:2019.03.11
See also:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4