EBS XML publisher Chinese garbled problems and solutions

due to the native environment, XML publisher statements run lead to do not to come out, unable to display the XML pages. 

using XSL style sheet cannot view XML input. Please correct the error and then click the refresh button, or try again later. 

XML document can have only one top level element. Processing resources' http://* * *. * * *. Com: 8001/OA_CGI FNDWRR. Exe ? An error occurred when temp_id=2326230111 '. Line 12, location: 
2<ITEM_LIST >
- ^

but in colleague's computer can run. 

set up behind the $OA_JRE_TOP/jre/lib/fonts font, I have two, the machine jre including 1.6.0 _07 of no similar ALBAN *. The vera.ttf file. Add to solve later. 

the problem description: in the process of using XMLP do statements, often garbled. 

there are two causes of gibberish: character sets and font definition of problems. 

character caused by the code     : the code into irregularity in general. 

the font definition of garbage characters: the general rules of the code is, generally for (the ?) 

1. The problem of character set 

    The solution: 

    1. In the PL/SQL output XML, header information encoded as:     

the output (' <the ? XML version="1.0" encoding="' | |   
                    Fnd_profile. The value (' ICX_CLIENT_IANA_ENCODING ') | | '" ? >");      

2.   Modify the EBS system preferences:     Client character encoding is amended as: Unicode (utf-8), modify the preferences will affect the configuration file 

        The value of FND: NATIVE CLIENT ENCODING. 

3.   Directly modify FND: NATIVE CLIENT ENCODING value, make the CLIENT code consistent with the server. 

4. Note: 

    ORACLE's character set name (international standards) and XML specification (IANA) international standards, we can't directly under the ORACLE's character set to set the XML character set, need according to the following table mapping set (but can be by utl_gdk. Charset_map for mapping) :           

2. The font definition problems 

          Solving steps: 

            1. The $OA_JRE_TOP/jre/lib/fonts directory contains similar ALBAN *. The vera.ttf file. 

          2. If not, from EBS $FND_TOP/resource under the copy a, 

                      Using the command:                   

$FND_TOP cp/resource/ALBAN *. Ttf              $OA_JRE_TOP/jre/lib/fonts    

        3. Restart the application. To solve the problem. 

        4. Principle: by default, the XMLP does not support Chinese, simply because the lack of font. Because XMLP using Java, Java theoretically support any language. EBS comes with Chinese fonts, but not installed to the XMLP directory. So want to be a copy. 

  5. The default output format XMLP to HTML, opens the font used is $OA_JRE_TOP. Use of EXCEL and PDF is $FND_TOP the font below

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22816976/viewspace-2080684/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22816976/viewspace-2080684/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值