Gets an Encoding appropriate for this language base item.
[Missing <returns> documentation for "M:InTheHand.Net.Bluetooth.LanguageBaseItem.GetEncoding"]
We support the following set of mappings from encoding id to .NET Encoding name.
| Id | Encoding |
|---|---|
| 3 | us-ascii |
| 4 | iso-8859-1 |
| 5 | iso-8859-2 |
| 6 | iso-8859-3 |
| 7 | iso-8859-4 |
| 8 | iso-8859-5 |
| 9 | iso-8859-6 |
| 10 | iso-8859-7 |
| 11 | iso-8859-8 |
| 12 | iso-8859-9 |
| 13 | iso-8859-10 |
| 106 (0x006a) | UTF-8 |
| 109 | iso-8859-13 |
| 110 | iso-8859-14 |
| 111 | iso-8859-15 |
| 112 | iso-8859-16 |
| 1013 (0x03f5) | unicodeFFFE (UTF-16BE) |
| 1014 | utf-16 (UTF-16LE) |
| 1015 | utf-16 (UTF-16, we assume UTF16-LE) |
| 2252 to 2258 (0x08cc to 0x08d2) | windows-1252 to Windows-1258 |
| Exception | Condition |
|---|---|
| NotSupportedException |
The IETF encoding id for this language base item is currently unknown.
If valid, add it to the s_IetfCharsetIdToDotNetEncodingNameTable table,
providing a mapping to its Windows code page name.
|