VFP claims to support the following codepages: https://docs.microsoft.com/en-us/previous-versions/visualstudio/foxpro/aa975345(v=vs.71)
Testing against ruby 2.6.8p205, some of these have obvious entries in Encoding.name_list:
7d Hebrew Windows -> cp1255 or Windows-1255
7e Arabic Windows -> cp1256 or Windows-1256
98 Greek Macintosh -> cp1253 or Windows-1253
96 Russian Macintosh -> cp1251 or Windows-1251
97 CP10029 is named "MAC Latin 2 (Central European) " elsewhere -> macCentEuro
Two did not have obvious matches:
69 Mazovia (Polish) MS-DOS cp620
68 Kamenický (Czech) MS-DOS cp895
If there is a way to ship your own encoding, both cp620 and cp895 are single-byte. Mapping to Unicode:
VFP claims to support the following codepages: https://docs.microsoft.com/en-us/previous-versions/visualstudio/foxpro/aa975345(v=vs.71)
Testing against
ruby 2.6.8p205, some of these have obvious entries inEncoding.name_list:7dHebrew Windows ->cp1255orWindows-12557eArabic Windows ->cp1256orWindows-125698Greek Macintosh ->cp1253orWindows-125396Russian Macintosh ->cp1251orWindows-125197CP10029 is named "MAC Latin 2 (Central European) " elsewhere ->macCentEuroTwo did not have obvious matches:
69Mazovia (Polish) MS-DOScp62068Kamenický (Czech) MS-DOScp895If there is a way to ship your own encoding, both
cp620andcp895are single-byte. Mapping to Unicode: