encoding.2da is used for language encoding UTF8 mappings. It is one of the few 2da files not included in the game files by default (leading to default engine behaviour).
This was added in the NWN:EE 1.87.8193.35 patch of the game.
2da Usage
A module can ship a custom encoding.2da file that just looks like:
...
Only drawback is if you dump the cp1252/ISO8859-1 text to a file somewhere and then open it with a different program, you'll get gibberish.
2da Columns
| Column Names | Example | Valid Values | Description and Notes |
|---|---|---|---|
| Codepoint | 0x1 | UTF8 codepage IDs | See usage above. |
encoding.2da Unchanged example
...