The display language charset exception configuration command displays configurations that fail to be transcoded into UTF-8 code.
If the encoding format is switched to UTF-8 when the device already has service configurations, some configurations may fail to be transcoded. If the system informs you of exception configurations when you run the language character-set utf-8 command, run the display language charset exception configuration command to view the configurations that fail to be transcoded, delete or modify the configurations, and transcode the configurations again. The exception configurations include overlong configurations after transcoding and configurations that cannot be transcoded. UTF-8 is a variable-length encoding format. Each character contains 1 to 6 bytes. After the encoding format is switched to UTF-8, some character strings entered in the previous GBK format may fail to be transcoded because their length exceeds that for UTF-8.
If there are many exception configurations, they may not be displayed at one time. In this case, modify the displayed exception configurations and run the transcoding command again. If the system still informs you of exception configurations, run the display language charset exception configuration command again to view the exception configurations. Repeat this process until all exception configurations are modified.
# Display the configurations that fail to be transcoded to UTF-8.
<sysname> display language charset exception configuration Module[Security-Policy]:AbnormalCmdNum<1>,Check Error Vsys[public],Cmd:rule name XXXX
Exception configurations are displayed by module. For each module, a maximum of 10 configurations are displayed each time. The command output indicates that the rule name configured using the rule name XXXX command for the security policy module. This configuration must be deleted or modified.