mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
The primary motivation for this is to resolve a licensing issue with these files (the files have been relicensed with a Debian-approved license), but there were a few minor fixes/additions since the previous update. The generation code/scripts required some modernization to get it working on a current system, as well as needing to handle the format of CP866.TXT, which is a bit different than the other files. Update the whitespace check to exclude these files from it as we prefer not to modify them to avoid any divergences with the upstream copies (even trivial ones). Closes #26700.
Files in this directory are used to generate src/common/unictabl.inc -- wxEncodingConverter helper tables that hold information about charset-to-unicode and unicode-to-charset conversion These scripts will most probably not run under Windows, even with Cygwin tools. You'll need some Unix machine (tested only under Linux, so...) To add support for new encoding, simply add proper .TXT file from ftp://ftp.unicode.org/MAPPINGS to mappings directory. But **please** make sure that newly added file has only CR, not LF+CR at end of line. Also make sure it consists of 4 tab-separated columns (not spaces; # and comment must be separated by one tab) After adding the file, run ./regenerate.sh and commit src/common/unictabl.inc to CVS. Or just send the mapping file to me (v.slavik@volny.cz) and I'll take care of it myself ;-)