OTL Chinese garbled OTL UTF8, otl Chinese garbled utf8

Source: Internet
Author: User

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 ~
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.