Wiki source code of Does MIB Designer support UTF-8 (UTF-16) for SMI specification files?
Last modified by Admin on 2024/05/25 21:21
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | MIB Designer supports UTF character sets, because it is written in Java. You can enable UTF-8, for example, by running MIB Designer with | ||
2 | |||
3 | {{code}} | ||
4 | |||
5 | java -Dfile.encoding=UTF-8 -jar mibdesigner.jar | ||
6 | |||
7 | {{/code}} | ||
8 | |||
9 | However, SMI does only allow 7bit-ASCII characters and | ||
10 | |||
11 | * carriage-return (CR) | ||
12 | * line-feed (LF) | ||
13 | * tabulators (e.g. TAB) | ||
14 | * spaces | ||
15 | |||
16 | for all text enclosed in double quotes (") within a MIB file. | ||
17 | |||
18 | As a consequence, MIB Designer will **refuse to compile/edit files with UTF-8** specific characters. Instead it will display an error message and mark the offending charcter in the MIB compiler log and file text. |