Enable support for GB2312 encoding
- Last UpdatedSep 16, 2024
- 1 minute read
The Long2 field, labelled as N/A in the Channel Selector settings, is by default set to 0. This field is disabled and cannot be edited in the Channel Selector settings.This default setting of the OMRONFINS Communication Driver does not support GB2312 encoding (Chinese characters).
Enable GB2312 encoding
-
Open the OMETH.ini file with a text editor:
-
In 32-bit machines, this file is located in:
C:\Program Files\Wonderware\OI-Server\OI-OMRONFINS
-
In 64-bit machines, this file is located in:
C:\Program Files (x86)\Wonderware\OI-Server\OI-OMRONFINS
-
-
Under the [CommParamDefault] entry, change Long2=0 to Long2=1.

-
Save the file in the same location.
The value in the N/A field in the Channel Selector settings changes to 1. This implies that GB2312 encoding is enabled.
Note: If the value does not change in the existing Channel Selector, create a new Channel Selector.