Net.Data runs using the same codepage as the web server. For Net.Data to use the correct codepage for your Locale, the Web server must be using the correct codepage. For example, if you are using an IBM Internet Connection Server and want to use a Korean codepage, stop the server and restart it using the Korean locale:
stopsrc httpd startsrc -s httpd -e "LC_ALL=ko_KR"
If your macro contains UTF-8 characters or you are connecting to a DB2 database containing Unicode data, set the DTW_UNICODE configuration variable in the INI file to UTF8. Net.Data currently supports UTF-8 characters in the macro, but not UTF-16. However, Net.Data can process DB2 database data that is encoded in either UTF-8 or UCS-2. Net.Data output is always in UTF-8.
Performance Tip: If you are running in a double-byte locale, and your string or work built-in functions always process single byte character strings, set DTW_MBMODE to NO to save unnecessary conversion.