Garbled Characters in Chinese Log Files

Symptom:

The messages of Mech-Vision log files contained garbled characters (???) when the following conditions were met:

  • Chinese simplified was set as software language. (Settings > Option > Common > language)

  • On the IPC, the Current system locale was set not as Chinese (Simplified, PRC), but as others (e.g. English, United States). (Control panel > Clock and Region > Region > Administrative > Change system locale)

Affected Software Versions:

All Mech-Vision versions

Possible Cause:

Current system locale setting and software language setting did not match.

Solution:

  • Upgrade Mech-Vision to version 1.7.0 or later.

  • If Mech-Vision cannot be upgraded to version 1.7.0 or later currently, follow these steps to workaround this issue:

    1. Go to Control panel > Clock and Region > Region > Administrative > Change system locale and change the Current system locale to Chinese (Simplified, PRC).

    2. Restart the IPC for this change to take effect.

    After the restart, the newly generated logs will display normally in the log files.

    Attention

    After the restart, garbled characters will remain in the logs that are generated before the setting change.