OTL Chinese garbled OTL UTF8, otl Chinese garbled utf8
Character encoding is supported by odbc when unixODBC is used to connect to MySQL. It does not require any compilation conditions when compiling OTL in C ++.
If your database uses UTF-8 encoding, you need to read data from this database and put the results into this database, you can request it in the configuration file odbc. ini
[Mysql_from]
Description = Data Source to mysql_from for read config for scp_platfom
Driver = MYSQL
TraceFile = SQL. log
TDS_Version = 8.0
Trace = Yes
Server = 172.16.210.138
Port = 13306
Database = scp_pm
CHARSET = UTF8
Reference: http://www.linuxidc.com/Linux/2012-02/54018.htm
The sybase encoding method is utf8 (in the rhel x64 system). It is garbled in Chinese through otl query. How can this problem be solved?
Set the client character set to cp936.
OTL reads MySQL database strings garbled
Garbled forward. It may be because the character set of the client is different from that of the read client.
If it can be changed to the same one, it will be okay.
The otl_stream method has never been used ~