Add the Windows ANSI family: 874 Thai and 1250-1258 as WindowsEncoding
The ten single-byte ANSI pages join as a second enum alongside DosEncoding, mirroring its API. Errors now carry a public Encoding wrapper (Dos | Windows) so both families share the single-byte codec functions; Encoding::from_code_page resolves a raw code page number across families, DOS first. data/ is reorganized into pc/, windows/, and bestfit/, and the generated single-byte tables split into dos.rs and ansi.rs. Microsoft publishes an identical Thai table for both families, so DosEncoding:: Cp874 and WindowsEncoding::Cp874 agree byte-for-byte (pinned by test).
This commit is contained in:
19493
data/bestfit/bestfit932.txt
Normal file
19493
data/bestfit/bestfit932.txt
Normal file
File diff suppressed because it is too large
Load Diff
48948
data/bestfit/bestfit936.txt
Normal file
48948
data/bestfit/bestfit936.txt
Normal file
File diff suppressed because it is too large
Load Diff
35519
data/bestfit/bestfit949.txt
Normal file
35519
data/bestfit/bestfit949.txt
Normal file
File diff suppressed because it is too large
Load Diff
40567
data/bestfit/bestfit950.txt
Normal file
40567
data/bestfit/bestfit950.txt
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user