erocarrera / pefile

pefile is a Python module to read and work with PE (Portable Executable) files
MIT License
1.82k stars 515 forks source link

Language references #407

Open j-t-1 opened 1 month ago

j-t-1 commented 1 month ago

I am trying to check lang and sublang, are there canonical references for these?

j-t-1 commented 4 weeks ago

@ShawnSteele maybe you can help us.

In pefile.py we have language [1] and sublanguage [2] definitions. Do you know the canonical reference for these mappings? Have they been deprecated so we need to add newer information?

Thanks in advance for your advice.

[1] ("LANG_NEUTRAL", 0x00), ("LANG_INVARIANT", 0x7F), ("LANG_AFRIKAANS", 0x36), ..., ("LANG_BRETON", 0x93).

[2] ("SUBLANG_NEUTRAL", 0x00), ("SUBLANG_DEFAULT", 0x01), ("SUBLANG_SYS_DEFAULT", 0x02), ("SUBLANG_ARABIC_SAUDI_ARABIA", 0x01), ..., ("SUBLANG_GAELIC_MANX", 0x03),