Problem in sending Greek characters over webservice which sends out  mail.

Hi All,
I need one help from you. I have published a Web Service. There is one method in web service which accepts a String as input parameter.
The value of this String should be an xml Template which is
<?xml version="1.0" encoding="ISO-8859-1"?>
<emailDetails xmlns="http://xyz.net/abc/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xyz.net/abc/namespace C:\java\aaa\xml\emailXMLSchema.xsd">
     <subject>Subj in Greece: &#925;&#941;&#949;&#962; &#949;&#965;&#954;&#945;&#953;&#961;&#943;&#949;&#962; &#945;&#960;&#945;&#963;&#967;&#972;&#955;&#951;&#963;&#951;&#962;</subject>
     <type>Subj in Greece: &#925;&#941;&#949;&#962; &#949;&#965;&#954;&#945;&#953;&#961;&#943;&#949;&#962; &#945;&#960;&#945;&#963;&#967;&#972;&#955;&#951;&#963;&#951;&#962;</type>
     <url><![CDATA[http://localhost:8080/AppName/activate_new_account.jsp?key=KEY_HOLE]]></url>
     <bodyText>
          <![CDATA[<html><body><p>
          &#925;&#941;&#949;&#962; &#949;&#965;&#954;&#945;&#953;&#961;&#943;&#949;&#962; &#945;&#960;&#945;&#963;&#967;&#972;&#955;&#951;&#963;&#951;&#962;: &#921;&#945;&#964;&#961;&#953;&#954;&#959;&#943; &#917;&#960;&#953;&#963;&#954;&#941;&#960;&#964;&#949;&#962; &#913;&#952;&#942;&#957;&#945;/&#920;&#949;&#963;&#963;&#945;&#955;&#959;&#957;&#943;&#954;&#951;/&#921;&#969;&#940;&#957;&#957;&#953;&#957;&#945; /&#919;&#961;&#940;&#954;&#955;&#949;&#953;&#959; &#922;&#961;&#942;&#964;&#951;&#962;/&#922;&#945;&#946;&#940;&#955;&#945;/&#932;&#961;&#943;&#954;&#945;&#955;&#945;/&#931;&#941;&#961;&#961;&#949;&#962;
          </body></html>]]>
     </bodyText>
     <from>[email protected]</from>
</emailDetails>
My webservice accepts this content in the form of String Object. It will parse this template(String object) using SAX parser and finds the following attribute
Subject,Body,From,Recipient and constructs and sends out the mail to the recipient which is working fine with English language. I have some Greece clients also. When i edited the body part in Greek language. Instead of sending those Greek characters some question marks are coming to that mail.
I extracted the code out which parses that XML Template and sends out the mail. I created one java project using that code. Parser parsed that template and sent the mail successfully with the Greek characters. I suspect that Axis or Soap engine is not supporting Greece Characters..
I tried with encoding="ISO-8859-7" and UTF-8 both but it din't work.
Could any one help me in solving this problem?
Thanks,
Aseem Bathla

I had the similar issue however I could resolve it by setting the appropriate encoding in server startup script.

Similar Messages

  • Problem while passing parameter to shell script which sends email-Ora Apps

    Hi,
    I have a pl/sql package which will call a shell script program.The shell script program is written in order to send the invoice hold details of AP as a mail.The parameters to this program are passed in the pl/sql package.
    The shell script program has
    5 parameters namely
    to - email
    from - email
    hold id - which is a number
    hold name - varchar2( free text)
    hold reason - varchar2( free text)
    the shell script looks as below.
    FROM_EMAIL=`echo $1|cut -f9 -d " "|sed 's/\"//g'`
    echo "From email id is $FROM_EMAIL" -- From email
    TO_EMAIL=`echo $1|cut -f10 -d " "|sed 's/\"//g'`
    echo "To Email id is $TO_EMAIL" -- to email
    PARAM0=`echo $1 | awk '{print $11}'|sed -e "s/\"//g"`
    echo "Param0: $PARAM0" -- hold id
    PARAM1=`echo "$1" | cut -d" " -f12-| sed -e "s/\" \"/\"^\"/g" | awk -F'^' '{print $1}'|sed -e "s/\"//g"`
    echo "Param1: $PARAM1" -- hold name
    PARAM2=`echo "$1" | cut -d" " -f13-| sed -e "s/\" \"/\"^\"/g" | awk -F'^' '{print $1}'|sed -e "s/\"//g"`
    echo "Param2: $PARAM2" -- hold reason
    the values that am passinf to this program are if suppose
    from email ---- [email protected]
    to email [email protected]
    12345 ------ hold id
    test hold name ------ hold name
    test hold reason ------- hold reason
    The output for the above parameters is as follows
    from email ---- [email protected]
    to email [email protected]
    12345 ------ hold id
    test hold name ------ hold name
    hold name --------hold reason (a part of hold name parameter is displayed as hold reason.The reason being in param2 we used cut which is cutting from 13.
    the problem here is since param1 being free text we cannot predict at what position the parameter ends.i mean there might be a single word or more than 2 words in that parameter seperated by space. the question here is ... is there anyway that we can specify dynamically from which location the param2 should fetch the value.
    can we use some delimiter to identify the end of param1 and start of param2.If so... how can it be written in this scenario.
    Thanks in Advance.

    As I see, all parameters are merged into 1 at shell script.
    Please do as follow:
    1- Modify your shell script as followed:
    echo "From email id is $1" -- From email
    echo "To Email id is $2" -- to email
    echo "Param0: $3" -- hold id
    echo "Param1: $4" -- hold name
    echo "Param2: $5" -- hold reason
    2- rename your shell script file with .prog extension : CUSTOM_NAME.prog
    3- perform the following command at custom file location:
    ln -s $FND_TOP/bin/fndcpesr CUSTOM_NAME
    This approach will seperate your parameters and then it will be more easier to manipulate them.
    Regards

  • How to show Greek characters in Italic style

    How to show Greek characters in Italic style
    Hi all, I'm tryng to resolve a problem with the Greek characters
    I need to display labels in two languages, english or greek inside my report.
    At the beginning of the report I have a placeholder with the xml code : *<?param@begin:p_language?>*, so I can understand inside my report if the user chose the Greek or English, and then I have many placeholders (labels) which have to be written in Greek or English.
    If the language chosen is English, I don't have any problem to show my labels bold or italic in every fonts
    Inside the placeholder I wrote the following code:
    *<?xdofx:if $p_language = 'Ελληνικά' then 'Οργανισμός' else if $p_language = 'Αγγλικά' then 'Organization' end if?>*
    I can chose font, style and bold/not bold directly from Word and when I run the report in pdf I see exactly what I chose.
    If the language chosen is Greek....I see always the label in Arial, NOT BOLD and NOT ITALIC...
    In order to see Greek characters BOLD:
    a) I added (under the ADMIN tab/Runtime Configuration/Font Mappings/ ) a font named Arial and I addeda target Font named Arialbd.ttf under the directory: D:\Oracle\Oracle_Homes\BIP_101341\jdk\jre\lib\fonts
    b) I changed the font (from word) to Arial
    Now, ONLY with tha ARIAL font I can see my labels in greek bold, but I can't still see them in italic style.....
    So, I tried to force these condition inside the placeholder with the following code:
    *<?if:$p_language = 'Ελληνικά'?><xsl:attribute xdofo:ctx="inlines" name="font">Times New Roman</xsl:attribute><xsl:attribute xdofo:ctx="inlines" name="font-style">Italic</xsl:attribute><xsl:attribute xdofo:ctx="inlines" name="color">red</xsl:attribute><xsl:attribute xdofo:ctx="inlines" name="font-weight">bold</xsl:attribute>Οργανισμός<?end if?>*
    ...but I continue to see the labels in Greek only bold, red but not in Italic Style......
    Also adding another font called Arialbi.ttf (Arial bold Italic)...I can't see my labels in Greek bold with Italic Style....
    Anybody had the same problem with another alphabet different from the latin one ???
    Any help will be appreciated
    Thanks in advance
    Alex

    Hi Chris,
    Thanks for your reply.However I still have some problems.
    I couldnt get jpdk 3.0.9.0.4 version the latest version that I
    got was jpdk 3.0.9.0.2.
    I tried the 3.0.9.0.2 version and it gave me the below error.
    Error-
    sun.io.MalformedInputException
         at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java,
    Compiled Code)
         at java.io.InputStreamReader.convertInto
    (InputStreamReader.java, Compiled Code)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java, Compiled Code)
         at java.io.InputStreamReader.read
    (InputStreamReader.java, Compiled Code)..........
    Can you guide me regarding this ???
    Regards,
    Mandar.

  • Sending audio data over http problem

    Hi Guys,
    We are trying to create a little servlet in Tomcat, which is capable to send audio files over http to an embedded media player. The definition of the player looks like:
    <OBJECT ID="Mp" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="application/x-oleobject" WIDTH="0" HEIGHT="0">
    <PARAM name="uiMode" value="none">
    <PARAM NAME="ShowControls" VALUE="0">
    <PARAM NAME="AutoStart" VALUE="1">
    <PARAM NAME="ShowPositionControls" VALUE="0">
    <PARAM NAME="ShowStatusBar" VALUE="0">
    <PARAM NAME="ShowDisplay" VALUE="0">
    </OBJECT>
    <script language="javascript">document.Mp.URL = "here comes the url of the servlet with item ID";</script>
    The servlet reads the audio file and writes its content to the response with the following http header settings:
    getResponse().setContentType("audio/x-wav");
    getResponse().setHeader("Content-Transfer-Encoding", "binary");
    getResponse().setHeader("Pragma", "Public");
    getResponse().setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");
    getResponse().setHeader("Content-Disposition", "inline; filename=Media.wav");
    getResponse().setHeader("Content-Length", new Integer(MediaBytes.length).toString());
    getResponse().setHeader("Accept-Ranges", "bytes");
    So, everything works fine for wav files in Internet Explorer, but we are facing problems with Firefox, where it does not work. The embedded Media Player says that "Windows Media Player cannot play the file. One or more codecs required to play the file could not be found."
    But if we set the url to directly to the file on the server, everything works fine.
    We have analyzed the HTTP traffic in both situation, but we cannot understand how Internet Explorer/Firefox and Media Player works together:
    - how does Media Player know that the audio file is playable?
    - if the url points directly to the file, the HTTP headers does not contain any kind of information about the file type, only the extension is available; Media Player checks the file extenion in the url?
    - if the url points to the servlet, why Media Player in Firefox cannot determine the file type and throws error?
    Any help is greately appreciated!
    Thanks!
    Gabor

    If you haven't already, I would try breaking down the problem. First confirm you're getting serial data then confirm that netcat can send some data. Like this:
    xxd < /dev/tty.usbmodemfa121 | less
    nc -u 10.0.1.3 7000 <<< 'hello over there'

  • When i send an email with greek characters in the body, the recipient receive it in an unreadable form.

    When i send an email with greek characters in the body, many recipients (not all) cannot read it.
    At the same time when i use the internet mail it can be read successfully by the recipient.
    I have already checked the encoding settings in the Fonts in order to be "unicode (UTF-8)".
    What else can i check?
    Thanks in advance.
    e.g:
    From: Eleni Kontomari [email address removed by moderator Andrew]
    Sent: Thursday, February 27, 2014 12:33 PM
    To: "Nikos Totsios (Ηλεκτρονική διεύθυνση)"; "Giannis Diokarantos (Ηλεκτρονική διεύθυνση)"; "Dimitris Papadopoulos (Ηλεκτρονική διεύθυνση)"; Vassilis Gounaris; "Vassos Efthymiadis (Ηλεκτρονική διεύθυνση)"; Νικηφόρος Κεκρίδης; Ιωάννης Αθανασόπουλος; "Alexis Katsivas (Ηλεκτρονική διεύθυνση)"; Μιχάλης Παπαοικονόμου; Fomesa Hellas; "Χρήστος Σπηλιάδης (Ηλεκτρονική διεύθυνση)"; Δημήτρης Μπενάκης; "Ν. Γαλάνης"; [email protected]; "Αποστόλης Σαμούδης (Ηλεκτρονική διεύθυνση)"; "Β. Ντουρτόγλου (Ηλεκτρονική διεύθυνση)"; [email protected]; [email protected]; "Φοίβη Λεγάκι (Ηλεκτρονική διεύθυνση)"; "Παναγιώτης Κουμεντάκος (Ηλεκτρονική διεύθυνση)"; Σπύρος Ζαφείρης; Hans- Joachim Henn; "Κώστας Αλεξανδρόπουλος (Ηλεκτρονική διεύθυνση)"; [email protected]; [email protected]
    Subject: ΠΡΟΣΚΛΗΣΗ ΤΑΚΤΙΚΗΣ ΓΕΝΙΚΗΣ ΣΥΝΕΛΕΥΣΗΣ ΕΣΥΦ
    ... 13 2014.
    ''Please read [[Forum rules and guidelines]] when posting a question in a public forum''

    There are some language add ons that support emails from other languages that you can check out: [https://addons.mozilla.org/en-us/thunderbird/extensions/language-support/?sort=popular]
    The recipient, if they also use thunderbird may need to have a language pack to read the email: [https://addons.mozilla.org/en-US/thunderbird/language-tools/]
    You may also need to have them check their interpreter to make sure the email is being received in the same format it is being sent.

  • When i send an email in greek characters the receiver gets only questionmarks.  how can i troubleshoot this?

    when i send an email in greek characters the receiver gets only question marks.  how can i troubleshoot this?

    Microsoft has finally addressed this issue!
    You need to download and install the 14.2.4 update (110MB) for Office 2011 from here: http://www.microsoft.com/en-us/download/details.aspx?id=34690
    Unfortunately, if you have been lazy with updating you will also need to download:
    Service Pack 1 (14.1.0), 247MB: http://www.microsoft.com/en-us/download/details.aspx?id=17198
    [Service Pack 2 (14.2.0), 110MB: http://www.microsoft.com/en-us/download/details.aspx?id=29419 -> you don't have to download this]
    Update 14.2.3, 110MB: http://www.microsoft.com/en-us/download/details.aspx?id=30214
    These are all pre-required...
    This update adds the ability to select a default text encoding for composing new messages.The encoding that is selected in composing preferences will be applied to all new messages that are sent from Mac Outlook. To access composing preferences, select Outlook, select Preferences, and then select Composing. The new preference is Preferred encoding for new messages. (From: http://support.microsoft.com/kb/2742588/en-us?fr=1 )

  • Problem with language specific characters on e-mail sending

    Hi,
    Problem with language specific characters on e-mail sending.
    How can it be fixed?
    Thanks.

    Hi,
    try to work on the charecter code set UTF-8 or UTF-16. You can define this in html.
    Or encode the charecter using java script.
    Hope this may help you.
    Deepak!!!

  • I copied my library to my new computer and I have some songs with greek characters and when I click them to play they change into something which is not readable. I have delete them and copy them again and also delete and re-download itunes

    I copied my library to my new computer and I have some songs with greek characters and when I click them to play they change into something which is not readable. I have delete them and copy them again and also delete and re-download itunes.

    im so happy I have a iTunes Card Code absolutely free! I got it at http://linkbitty.com/freeitunes2014

  • Oracle 11g Greek Characters problem

    Hello,
    I have an Oracle 11g Express Edition installed on my Windows 7 64 bit machine, and i store greek characters inside it.
    The characters display fine on SQL developer.
    But when i connect it with my php application using PDO i get ??? instead of the greek characters.
    I've set nls_lang in registry to GREEK_GREECE.EL8MSWIN1253
    But when i run select * from nls_database_parameters i get the following.
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     AL32UTF8
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     UTF8
    NLS_RDBMS_VERSION     11.2.0.2.0
    Also, when i connect with pdo i use this command: $pdo_string = 'oci:host='.$this->server.';dbname='.$this->database.';charset=AL32UTF8';
    Any thoughts on this?
    Any help will be appreciated.
    Mike

    991209 wrote:
    Solved it with:
    shutdown immediate;
    startup mount;
    alter system enable restricted session;
    alter system set job_queue_processes=0;
    alter database open;
    alter database character set internal_use EL8MSWIN1253;
    shutdown immediate;
    startup;This is not a documented or supported method to change the characterset of a database - supported methods are documented - http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#g1011430
    https://forums.oracle.com/forums/search.jspa?threadID=&q=internal_use&objID=f50&dateRange=all&userID=&numResults=15&rankBy=10001
    You will need to restore the database from a good backup and convert the characterset in a supported manner.
    Also, 11g XE is not supported on Win 7 64-bit - http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABGGAJA
    HTH
    Srini

  • Generate PDF file from a report using greek characters

    Dear all,
    I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
    Any ideas, suggestions and workarounds are welcome.
    Thanx a lot!

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

  • How to see Greek characters inside a PDF report (made with XML Publisher)

    Hi,
    I just patched my e Business Suite (ver. 11.5.9) in order to use XML Publisher 5.6.3.
    It works fine, but I have a big problem when I want to see Greek characters inside my report; instead to see the Greek characters I see only '?????'
    I tried to add some font under the XML Publisher Administrator responsibility following the Doc ID: 373377.1 "How To Install a Font Using XML Publisher Administrator", but my problem remains: I don't see my Greek characters
    Do I need to add any other fonts on the file system ? and where ? (under which path), or I set something at the XML Publisher Administrator responsibility level (under the Administration link) ?
    Any help will be appreciated, because it's very urgent to know how to fix this problem.
    Thanks in advance
    Alex

    Alex,
    Please verify the value of $AF_CLASSPATH variable and make sure that JRE_TOP/lib/fonts is part of this env variable (in addition to $CLASSPATH).
    Note: 353164.1 - Chinese Characters Appear as Question Marks(?) When Using a Data Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=353164.1
    Note: 399518.1 - Arabic Characters Appear As Question Marks
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=399518.1

  • The final solution to greek characters in AWT applets(????)

    OK. I have searched the whole web and asked whoever I knew. The question was simple: How do I show greek characters in a TextField in an AWT Applet? Some people said that I should change the font properties inside MY jre/lib installation but then I want EVERYONE and not just ME seeing the greek characters! Adding a greek font into the applet's jar was another "solution" but who wants to have an applet of about 2MBs? So I think I have come up to the answer ... ONLY with jre > 1.4.0 somebody could handle greek characters in AWT Applets without trooble! If somebody has managed to show and handle greek characters in a TextField inside an AWT Applet (which I doubt), I would like to know EXACTLY HOW as I am tired of non-working "solutions"! I hope this post saves you from a lot of time searching for the HolyGrail

    I haven't worked with a TextField but I worked with a JTextField. My solution wasn't very straightforward but it did the job.
    I used this solution in order to work with linux, but you must add an if
    statement to check the OS.
    If your problem was how to view Greek characters in a non internation version of
    Java, then as far as I know, you cannot! Also JDK 1.3.1_01 and j2re 1.4.0_01
    use a different way of loading system fonts, so with the latter you cannot use system fonts unless you put them in you java directory.
    (I use linux so don't be surprissed if these work different in windows)
    import java.io.*;
    public class JTextFieldGr extends javax.swing.JTextField {
    public JTextFieldGr() {
    super();
    myInit();
    public JTextFieldGr(String text) {
    super(text);
    myInit();
    public void myInit() {
    addKeyListener(new java.awt.event.KeyListener() {
    public void keyTyped(java.awt.event.KeyEvent evt){
    try{
    String tmp=""+evt.getKeyChar();
    String uk=new String(tmp.getBytes(),"ISO-8859-7");
    evt.setKeyChar(uk.charAt(0));
    }catch(UnsupportedEncodingException e){
    e.printStackTrace();
    public void keyPressed(java.awt.event.KeyEvent evt){
    public void keyReleased(java.awt.event.KeyEvent evt){
    }

  • Issue in Inserting Greek characters in Oracle DB

    We are facing the following issue in our project. Need urgent help.
    We have a multilingual string(message with Greek characters) coming in from KSD gateway. This is to be processed by MHL(message handling layer- which validates and converts the incoming message into SQL statements and vice versa). Once the validation and conversion of incoming message is completed and then SQL statement is prepared, it inserts this data in the Oracle database. We are using OCI interface for database communication. Client program is written in C language. While inserting data in Oracle DB, we are getting exception as explained below.
    EventVwr Output:
    SCREEN 1:
    ODI Oracle error report has been issued
    ODI Error: DbConnId 0 - Oracle error msg:
    ORA-00917: missing comma
    SqlStatement='INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (17549,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','')'
    SCREEN 2:
    Error executing OCI Statement
    Failed to execute PL/SQL command INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (17549,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','') on DbConnId 0 file ..\MHL - source\MhlOdi.c line 803
    SCREEN 3
    Inbound thread ODI update to table field failed
    SQL insert failed on DbConnId 0
    INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (17549,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','')
    in file ..\MHL - source\MhlInBound.c line 2342
    We have looked into the trace file generated by MHL and found that the MHL is unable to process Greek characters and hence is unable to generate a valid SQL statement.
    Trace File Output:
    09/02/2012 10:22:54.437 T2228>> ODIExecNonQuerySqlStatement
    09/02/2012 10:22:54.437 T2228
    09/02/2012 10:22:54.437 T2228 SqlStatement=INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (18175,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','')
    09/02/2012 10:22:54.437 T2228 In OCIStmtExecute
    09/02/2012 10:22:54.437 T2228 SQL STMTExecute=
    09/02/2012 10:22:54.437 T2228>> ODICheckError
    09/02/2012 10:22:54.437 T2228 Non-Fatal Database Error - msg: ORA-00917: missing comma
    , code: 917
    09/02/2012 10:22:54.437 T2228<< ODICheckError
    09/02/2012 10:22:54.437 T2228>> ODIOracleErrorReport
    09/02/2012 10:22:54.437 T2228<< ODIOracleErrorReport
    09/02/2012 10:22:54.437 T2228 SQL STMTExecute=INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (18175,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','')
    09/02/2012 10:22:54.437 T2228<< ODIExecNonQuerySqlStatement
    09/02/2012 10:22:54.437 T2228 Error: SQL insert failed on DbConnId 0
    INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (18175,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','')
    09/02/2012 10:22:54.437 T2228 SQLstatements---------->=INSERT INTO M_ENS_REJ_FUN_ERR (MSG_NUM,FUN_ERR_SEQ,ERR_TYPE,ERR_POINT,ERR_REASON,ORIG_ATTR_VAL) VALUES (18175,1,'1','Îάν Î¬Î½Î±Ï Î±ÏοÏÏÎ¿Î»Î¬Î±Ï ÎµÎ¯Î½Î±Î¹ δΕλÏÎ¼Î¬Î½Î¿Ï Î³Î¹Î± Ïλα Ïα είδΕ ÏÏÏε ÏÏάÏει να δΕλÏθεί Ïε εÏίÏεδο βαÏικÏν ÏÏοιÏείÏν ειδάλÏÏ Ïε εÏίÏεδο είδοÏÏ ÏÏÏÎ','1','')09/02/2012 10:22:54.437 T2228 Inbound thread - attempting rollback of 1 SQL insert statements on DbConnId 0
    09/02/2012 10:22:54.437 T2228>> ODIRollback
    However, when tried to insert the same string through the SQL developer it is successful in doing so.

    Globalization forum?
    Globalization Support
    It works for SQL Developer, which does not depend on NLS_LANG, so I suspect a problem with your NLS settings.

  • JDBC adapter: greek characters

    Hi All,
    We are reading and sending data from a ms sql dbase towards our R/3 system via PI (JDBC adapter).
    I am having some problems related with exotic characters (greek). Reading these characters from the dbase works fine without any additional config, but writing these characters gives problems.
    When I check the message logging inside XI, the characters look fine, but the result in the dbase is not.
    ex:
      XI       = Martine &#913;&#932;&#932;&#921;&#922;&#927; &#920;&#917;&#929;&#913;&#928;&#917;&#933;&#932;&#919;&#929;&#921;&#927;
      dbase = Martine ?????? T???????????
    I already tried changing the charset of the communication channel to "iso-8859-7", but that did not fix the problem.
    Anyone an idea?
    Kindest regards
    Joris

    In note 831162 (FAQ: XI 3.0 / PI 7.0 JDBC Adapter) is mentioned:
    "2. Unicode Handling
    Q: I am inserting Unicode data into a database table or selecting Unicode data from a table. However, the data inserted into or retrieved from the table appears garbled. Why doesn't the JDBC Adapter handle Unicode correctly?
    A: While the JDBC Adapter is Unicode-aware, many JDBC drivers and/or database management systems aren't by default and need a codepage or Unicode-awareness to be configured explicitly. For the respective JDBC drivers, this codepage setting is often configured via the driver URL. For details, refer to the documentation of your JDBC driver or database management system.
    Note: For the Lotus Domino Driver for JDBC, there does not seem to be any documented method to enable support for Unicode strings."
    Does this help you?
    Regards
    Stefan

  • I can't see the Greek characters using ADOBE reader

    Dear colleagues,
    Your help will be appreciated for the following problem:
    I have a tool which converts IBM I (AS400) spool file to PDF.
    The file has been copied to Windows environment.
    On generated PDF I can’t see the Greek characters using ADOBE reader v10.1.4.
    If I use Notepad to display the file, I can see the Greek characters.
    It seems that following PDF keywords are not recognized form PDF reader.
    /BaseFont /Courier
    /Encoding /WinAnsiEncoding  
    I have tried to use various fonts and encoding (cp1253, ISO8859-7) with no luck.
    On PDF reader folder there is the following file:C:\Program Files\Adobe\Reader 10.0\Resource\TypeSupport\Unicode\Mappings\win\CP1253.TXT
    I believe somehow to tell PDF reader to use this encoding.
    What actions required on our Win/PDF environment setup?
    What actions required on PDF file generation? (/BaseFont, /Enconding, etc)

    Too many assumptions! It is much, much more complicated than your attempted solutions. The PDF Reference shows the contents of WinAnsiEncoding; this is as for your first example. I feel you probably need to spend very much more time reading this book.
    In the second example you are using a different code page (or other encoding method) to view the data. This is not going to help you because WinAnsiEncoding is fixed in all environments and does not use the code page.
    To use greek characters you will need the PDF to
    - use fonts which contain greek characters (the built in Courier PostScript font probably does not)
    - use an Encoding which references the greek characters. There are no built-in encodings that do this
    You cannot make simple cosmetic changes to this file to do this. The style of simplified font with no FontDescriptor can be used only for the built-in 14 fonts, which cannot be used with a greek encoding.
    Commonly, a combination of the greek letters in the Symbol font and the Latin letters in another font are used by constant font switching. This is of course only a solution for Greek, not other non-Latin alphabets.

Maybe you are looking for