Charset definition problem

Hi,
I've a strange problem with my website html pages. My pages have charset defined in the page's header as "windows-1255" but sometimes explorer browsers take utf8 encoding. Then People see a white page because the browser can't display the page correctly. I tryed to add to the server in international support the alias charset cp1255 but is not defined by the server. i think that sometime explorer browsers fail to read the correct charset from the html page then it take the default explorer charset utf8 because the server send none default charset in HTTP header request. How can correct this problem? how can i define cp1255 as default encoding in my server?
thanks

SunOne 6.1 sp5 on SunFire server with solaris 9.

Similar Messages

  • Charset Encoding Problem

    Hello all,
    I have the problem that umlaut like ä, ü,ö are didn´t shown in the Browser. In the JSP Page I included the charset=iso-8859-1. I used the Web Application Server 6.4 SP12. If I used this charset ín a normal HTML Site it works fine. Could anybody help me to solve the Problem?
    Kind regard
    Axel

    Hi Axel,
    try to use charset UTF-8, which also is the default workbench editor setting on NWDS. At least, the portal's JSP engine (which is different from the WAS') needs that to work properly.
    Hope it helps
    Detlev

  • Create CAPI definition problem with Headstart 6i / Designer  6i rel. 4.3

    During migration from hsd50/des60 to hsd65/des6i rel 4.3 of an application using CDM ruleframe: according to the migration guide, one step is "Upgrading Existing CDM RuleFrame objects", which includes running the Create CAPI definition (Headstart utility). After that step we assume de created CAPI's should be generated together with the Table API. But executing the CAPI-scripts results in errormessages. After comparing the 60 and 6i versions, we found a bug, probably caused by the Headstart utility: In the package body, after the header of the first function of the Business Rule Check Functions, suddenly the declaration section of the package is again inserted, and after that the first function is again defined followed by the rest, causing also a missing end statement at the end of the package.
    Is this known, and if so, is there a fix available?
    Regards, Paul.

    Paul,
    We have found the cause for your other problem (the repeating of the declaration section).
    With 6.5 a new package property Private Declaration was introduced in Designer.
    This property should officially be used instead of PL/SQL block to specify package body declaration
    (assuming you define all package procedures and functions in separate PL/SQL Definitions).
    However, at first the migration from an earlier version of Designer did not pose any problems
    because of Designer bug 1470283. That's why you won't find anything about this in the Headstart Migration Guide.
    Now that Designer bug is fixed, migrating a CAPI causes part of the PL/SQL Block to be moved to the Private Declaration.
    If you then generate the CAPI package to the database, it works fine, but when you run the CAPI utility again,
    it inserts the package declarations again in the PL/SQL Block (leaving the Private Declaration in tact).
    That's when you get duplicate package declarations. We logged this as Headstart bug 2527128.
    You already found a workaround: deleting the CAPI and generating it again. Another workaround is
    moving the Private Declaration to the top of the PL/SQL Block (this allows you to keep your existing
    Revision History).
    Hope this helps,
    Sandra

  • CharSet EE8BS2000 problem (BS2000/OSD)

    Dear All!
    We are now trying our new Oracle Server (version 8.0.4.2.10) on platform BS2000/OSD, but we have problem with accented Hungarian letters and character sets...
    Our "Server for Siemens BS2000 User's Guide" (Z25550-01) says that character set EE8BS2000 is equal to Siemens EBCDIC.DF.04-2 (EDF042),
    but experiments showed that in reality it is Siemens EBCDIC.EHC.L2 (EEHCL2)
    (both server an client side affected).
    We would use the first one (EDF042), which seems to be the new standard of BS2000.
    (Notes:
    1.When we select charset WE8BS2000 instead EE8BS2000 almost everything is OK, except for double-acuted Hungarian characters (o" and u") which are not shown/can not be entered from SQL*Plus on Win.
    2.Hungarian texts in "ORALOAD.LIB" use character codes from EDF042. (Little hope for us))
    An other question is that remote clients (eg SQL*Plus on Windows) does not support
    EE8BS2000 character set (yet (?)), so we would set the server to perform the conversion between EBCDIC (EDF042) and ASCII (ISO-8859-2).
    Can someone please give us some hint ?
    Appendix:
    Character EEHCL2 EDF042
    a' x'71' x'45'
    e' x'72' x'51'
    i' x'73' x'55'
    o' x'74' x'ce'
    o: x'75' x'cc'
    o" x'76' x'cf'
    u' x'77' x'de'
    u: x'78' x'dc'
    u" x'79' x'db'
    more information about Siemens character sets can be found in http://manuals.mchp.siemens.de/servers/bs2_man/man_us/dcam/v14_0/xhcs.pdf
    null

    I wrote earlier:
    "Hungarian texts in "ORALOAD.LIB" use character codes from EDF042. (Little hope for us)"
    Well... not exactly... eg:
    module "MNNMSHU" uses codetable EEHCL2
    module "MNNCXHU" uses codetable EDF042
    so the situation is worst that we thought...

  • Language Charset Encoding Problems

    Hi,
    i have Oracle 9i with developer suite installed in my 2000 professional Box my local language is ARABIC which use win1256 charset, when i run my Forms & reports all Arabic characters appears as ???????????????
    What should i do to correct this problem, and is there any methods should be done while Developer or Oracle Installation to make my Arabic characters appears clearly ?
    Thanks

    when i install the database i choose ARABIC Windows-1256 chracter set !
    where can i change my database character set, and what is the best character set for me in my explorer i use Windows-1256 ?
    and did the Registry file NLS_LANG located in my windows Registry.
    affect my database Charset !?? now this value is null.
    thanks for replay
    thanks

  • B1i Scenario Filter Definitions problem

    Hello gurus,
    we copied the IC.Purchasing scenario in order to create a new one but using the setup wizard the filter definitions do not seem to appear anywhere.
    Is there some different way i could set them up?
    Thanks in advance!

    In case anyone has the same problem;
    it would appear, in the Scenarios -> Package Design -> Definitions -> Criteria Fields menu, i had entered a wrong name in the Default Steps column.
    After that, in the wizard setup the filter definitions appear correctly.

  • XML data - charset encoding problem

    Hello all,
      I am facing an issue on charset encoding. My requirement is to send an XML and read the the output XML to display the output. The output XML is encoded in "ISO-8859-1" and we are retrieving/reading it in "UTF-8". But some special characteres in the output XML are appearing as it is.
      Could some one let me know on how to obtain the desired characters.
    Code snippet while reading the XML:
    BufferedReader inStream = null;
    BufferedWriter outStream = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream(),"UTF-8"));
    inStream =
         new BufferedReader(new InputStreamReader(inputStream,"UTF-8"));
    Thanks & regards,
    Sharath

    Hi Sharath,
    To read the XML file use the following. Don’t mention the character set during reading it.I hope it will help you.
    XML file(emp.xml)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Emp>
    <EmpDetails>
           <firstname>Sarbari</firstname>
           <lastname>Saha</lastname>
      </EmpDetails>
      <EmpDetails>
           <firstname>Tumpa</firstname>
           <lastname>Hazra</lastname>
      </EmpDetails>
    </Emp>
    Java File
    import java.io.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import org.w3c.dom.NamedNodeMap;
    class ReadXML
         public static void main(String args[])
              try
                   String fileName="emp.xml";
                   DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
                   Document doc = docBuilder.parse (fileName);
                   NodeList nodeList = doc.getChildNodes();
                   int nodeSize = nodeList.getLength();
                   for (int i=0;i<nodeSize;i++)
                        Node node = nodeList.item(i);
                        Element elm = (Element) node;
                        NodeList EmpDetailsList=elm.getElementsByTagName("EmpDetails");
                        int stNodeSize = EmpDetailsList.getLength();
                        System.out.println("NodeSize =  "+stNodeSize );
                        for(int j=0;j<stNodeSize;j++)
                                  Node nodeEmpdtl = EmpDetailsList.item(j);
                                  Element elmDetails = (Element) nodeEmpdtl;
                                  NodeList firstnameList=elmDetails.getElementsByTagName("firstname");
                                  NodeList lastnameList=elmDetails.getElementsByTagName("lastname");
                                  Node fnameNode=firstnameList.item(0);
                                  System.out.print("Node : " + fnameNode.getNodeName());
                                  System.out.println ("  Value : "+((Element)fnameNode).getChildNodes().item(0).getNodeValue());
                                  int lastnameNodeSize = lastnameList.getLength();
                                  Node lnameNode=lastnameList.item(0);
                                  System.out.print("Node : " + lnameNode.getNodeName());
                                  System.out.println("  Value : "+((Element)lnameNode).getChildNodes().item(0).getNodeValue());
              catch(ParserConfigurationException pce)
                   System.out.println("Inside ParserConfigurationException Exception");
              catch(SAXException se)
                   System.out.println("Inside SAXException Exception");
              catch(IOException ioe)
                   System.out.println("Inside IOException Exception");
    Regards,
    Mithu

  • New BPm Definition Problem

    Hy all,
    ich have the following problem. I made modification in my BPM. The modifications have been detected but in a multimapping Step (old Version 9:1 messages -> new version 10:1 messages) it continue to use the old Version of the mapping. I try to create one more time the mapping step but with any result.
    Could anyone help me.
    Thanks a lot
    Mat

    Mat,
    Can you try this.....
    Delete the interface mapping, Since you have created a new mapping program now activate the change list. Again create the interface mapping. Activate the changelist. In the BPM delete the trnasformation step which has the multimapping part. Activate and again insert the transformation step. Now try to use different container variable. Activate the changes list.
    The point is at every step of creation/change/deletion activate the change list and check if it works. Also avoid using the same naming conventions for the objects.
    thkx
    Prabhu

  • OSB namespace definition problem

    Hi,
    How can I use "op:subtract-dates($arg1 as xs:date, $arg2 as xs:date) as xs:dayTimeDuration?" xquery function ? I added prefix="op" with the URI="http://www.w3.org/2002/08/xquery-operators". But I got the "unknown function" error.
    Thanks.

    Hi,
    As per the spec :
    http://www.w3.org/TR/xquery-operators/
    (1.2 Namespaces and Prefixes - section)
    Functions defined with the op prefix are described here to underpin the definitions of the operators in [XML Path Language (XPath) 2.0], [XQuery 1.0: An XML Query Language] and [XSL Transformations (XSLT) Version 2.0]. These functions are not available directly to users, and there is no requirement that implementations should actually provide these functions. For this reason, no namespace is associated with the op prefix. For example, multiplication is generally associated with the * operator, but it is described as a function in this document:
    op:numeric-multiply($arg1 as numeric, $arg2 as numeric) as numeric
    so probably this isn't available for use. however you can rely on similar xpath functions from the engine.
    hope this helps.
    regards,
    Jitendra
    Edited by: user10071542 on Feb 23, 2010 10:10 PM

  • Charset decoding problem. UTF-8

    Hi,
    I'm using Jakarta Commons HttpClient and am having trouble reading the response to a GetMethod.
    // execute method
    byte[] bytes = method.getResponseBody();
    String response = new String(bytes, "UTF-8");
    // method.getResponseCharSet() returns "utf-8"
    System.out.println(response);Unfortunately this just displays garbage.
    I added code to iterate through and print out the value of each byte. Some come up negative which surprises me. If I put the first 50 or so values here maybe someone can identify what the problem is:
    031 -117 008 000 000 000 000 000 000 011 -115 086 075 111 -029 054 016 -066 -025 087
    008 -070 056 001 -078 090 -110 018 -011 -088 031 064 -110 -090 -040 093 036 -023 -042 -021
    108 015 069 015 -076 -060 -040 066 -012 048 036 058 -117 -004 -005 114 -122 018 035 -045 It should read
    <html><head><meta HTTP-EQUIV="pragma" CONTENT="no-cache">
    <script language="Javascript">...
    Thanks

    If the String object
    <html><head><meta HTTP-EQUIV="pragma"CONTENT="no-cache"><script language="Javascript">is transformed to a byte array with UTF-8 encoding then its elements are as follows.
    14 97 103 109 97 34 67 79 78 84 69 78 84 61 34 110 111 45 99 97 99 104 101 34 62 60 115 99 114 105 112 116 32 108 97 110 103 117 97 103 101 61 34 74 97 118 97 115 99 114 105 112 116 34 62Probably encoding does not coincide or your byte array is different from what intended.

  • Charset Decoding Problem

    Please let me know why this program doesn't work!
    ByteBuffer buffer = null;
    CharBuffer charBuffer = CharBuffer.allocate(100);
    buffer = ByteBuffer.wrap(new String("Server 10").getBytes());
    buffer.flip();
    Charset cs = Charset.forName("ISO-8859-1");
    CharsetDecoder cd = cs.newDecoder();
    cd.decode(buffer,charBuffer,false);
    System.out.println("Char Buffer " + charBuffer.toString());
    buffer.clear();
    This does not display any output at all.
    Please let me know ... if you have any clue .. on this!
    Thanks in Advance.

    Hi..thanks for the response.
    Yes..I did try that. It still gives the same output. I even tried a charBuffer.flip() too. No help !
    ByteBuffer buffer = null;
    CharBuffer charBuffer = CharBuffer.wrap(new String(""));
    PropertyConfigurator.configure("log.properties");
    buffer = ByteBuffer.wrap(new String("Server 10").getBytes());
    Charset cs = Charset.forName("ISO-8859-1");
    CharsetDecoder cd = cs.newDecoder();
    cd.decode(buffer,charBuffer,true);
    logger.debug("Decoding done");
    logger.info("Char Buffer " + charBuffer.toString());
    logger.info("Length = " + charBuffer.toString().length());
    buffer.clear();
    The output is ...
    2003 Jul 01 17:30:46 [main] DEBUG TestCharset - Decoding done
    2003 Jul 01 17:30:46 [main] INFO TestCharset - Char Buffer
    2003 Jul 01 17:30:46 [main] INFO TestCharset - Length = 0
    Any further clues will be really helpful.
    thanks in advance

  • External definitions problem

    hi experts, i have wsdl file, i upload it to xi as external definition but there are no any messages in "messages" tab.
    i tried to generate some requests using Altova xm spy so it works fine, in XI it is not.
    Help pls.

    Hi,
    Are you able to deploy the External definition without any issues?
    If you have deployed it, then go to the WSDL tab in the external definition and check.
    If you are able to successfully deploy it, then create Message interface and check the Context objects, you would be able to see the structure.
    If you are not able to see the messages then there should be some issue with the WSDL.
    Thanks,

  • Charset conversion problem: JDriver/Ora 8.1.7/WLS 6.1

    Hi. I'm having a problem with getting non-ASCII characters into an Oracle database
    using the JDriver. I'm using CallableStatement.setString() to place a String with
    Unicode \233 characters (accented e) in the database. The \233 shows up as a '?'
    character (octal 77).
    If I do the same thing from a simple Java app using the Oracle thin driver, the
    character arrives properly.
    I'd be grateful for any help.
    Joe Humphreys

    Hi Joe!
    You have to set NLS_LANG parameter explicitely in your environement before starting
    the server. That will resolve your problem.
    Mitesh
    Joe Humphreys wrote:
    Hi. I'm having a problem with getting non-ASCII characters into an Oracle database
    using the JDriver. I'm using CallableStatement.setString() to place a String with
    Unicode \233 characters (accented e) in the database. The \233 shows up as a '?'
    character (octal 77).
    If I do the same thing from a simple Java app using the Oracle thin driver, the
    character arrives properly.
    I'd be grateful for any help.
    Joe Humphreys

  • Charset conversation problem.

    Hi!
    I wanted to transform a ISO-8559-15 byte-Array into a valid Java String using
    byte[] data = ...;
    Charset iso_8559_15 = Charset.forName("ISO-8559-15");
    String s = iso_8559_15.decode(ByteBuffer.wrap(data)).toString();s inclodes stranges byte-set which are neighter of UTF-8 nor ISO-8559-15 origin when writing them to a file using FileWriter.
    It works perfectly well using
    byte[] data = ...;
    String s = new BufferedReader(new InputStreamReader(new ByteArrayInputStream(data))).readLine();Can you tell me whats wrong with using Charset/CharsetDecoder?

    Probably you mean ISO-8859-15.
    Check System.getProperty("file.encoding") - this is the default encoding.
    I suppose it is different than ISO-8859-15 (if your second approach gives different results).
    The simple way to convert byte array to string with desired charset is:
    String str = new String(data, "ISO-8859-15");If you still do not achieve readable strings, check your input data.
    Probably you have not-printable chars - for ISO-8859-15 in range 120-160 or most of these bellow 32.
    (simple description and chars table can be found here: http://en.wikipedia.org/wiki/ISO_8859-15).

  • Create View Link Definitions - Problem

    Hi,
    I was trying to define a relationship between two view objects using the view link icon, but I always get this error messages:
    BME-99004:A java runtime exception has occurred,
    BME-02038:Exception thrown during validation.
    Can anyone help me? It's very important!!
    Thanks
    null

    Ok, I'm not Lisa but do you still want my help? ;o)
    We need to go back to basics for this and also provide more information.
    I assume you are using ADF Business Compoments,
    What version - I'll assume 10.1.3
    How are you creating the link; what are you actually doing when yuo get this error - are you running.
    Here is what I would do - create two default EOs EMP and DEPT and create two default VOs on them, drag the VOs onto a Business Components diagram and add a link to it - does that work - if so, what is different. If that doesn't work then we have something to go on.
    Regards
    Grant Ronald
    Oracle Product Management

Maybe you are looking for

  • Display Members in FR Report

    Hi, I need small help in FR, we have a requirement according to which we want to display members of a dimension all expanded on all levels. Right now we have reports which display the members in which Child member comes first then it's parent comes,

  • External monitor goes full screen

    i have a custom two screen layout for Premiere Pro. but one of the monitor starts to play full screen an hides the other windows. Any tips on how to customize the video Playout? Thanks T

  • Small Dumpfile Size cause extreme large table space size

    Hi, I have a big problem. I have a Oracle 9i dump, with a size of 1,3 MBytes. If I import this file (on the same server) to another tablespace / tableowner this tablespace grows to 5,5 GB. In Oracle 8i a similar dump uses only 37 MB. Has somebody mad

  • Is windows 8 supported for r12

    Hi All, Can somebody tell me whether oracle r12.1.3 supports windows 8 ? Regards, Vinod

  • .xls files in Numbers printing Landscape, can't get Portrait

    I searched and found one similar post with no resolution: I open an .xls file with numbers, the inspector(sheet inspector) shows I have it as portrait, but when I select "print" and the print dialog appears, it shows the .xls file on a landscape back