我刚开始使用Oracle的ODI(Oralce Data Integrater)。发现处理不了中文。我用的是CSV数据源。用逗号分隔的纯文本。从Designer的Source里读出的数据就是乱码。我试过把数据转成utf-8, unicode, ASCII都不行。

解决方案 »

  1.   

    终于找到答案了。和大家分享一下:
    Start Topology Manager
    Click the Physical Architecture
    Expand the Technologies root element, then expand the File branch
    Locate and double-click the FILE_GENERIC leaf element.
    The Data Server window for the GRANITE_TARGET opens (as shown in the following figure).  Click the JDBC tab of the Data Server window.
    Add “?ENCODING=UTF8” after the JDBC URL. Be careful, do not leave any blanks after the string. 
    Click Apply.
    Click OK.Note:
    Click this link to find character set names for other languages:
    http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
      

  2.   

    终于找到答案了。和大家分享一下:
    Start Topology Manager
    Click the Physical Architecture
    Expand the Technologies root element, then expand the File branch
    Locate and double-click the FILE_GENERIC leaf element.
    The Data Server window for the GRANITE_TARGET opens (as shown in the following figure).  Click the JDBC tab of the Data Server window.
    Add “?ENCODING=UTF8” after the JDBC URL. Be careful, do not leave any blanks after the string. 
    Click Apply.
    Click OK.Note:
    Click this link to find character set names for other languages:
    http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html