Problems setting the charset encoding via jdbc

Dear list,
I would like to know if/how its possible to set the character encoding via the jdbc string, with the oracle thin driver client (classes12.jar).
Microsoft SQLserver for example supports the addition of a charset="utf-8" for example in the jdbc url.
Please could tell me how/if this is possible.
A pasted example would be much appreciated..
ben bookey

This bug will be fixed with SP20.
Regards
Stefan

Similar Messages

  • How to set the charset encoding dynamically in JSP

    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal

    Dear Saurabh,
    I guess it is possible. Here is an example I have made some time ago :
    In my html page :
    <form name="form1" METHOD=POST Action=Lang ENCTYPE="application/x-www-form-urlencoded" >
    <p>
    <select name="code" size="1">
    <option value="big5">Chinese</option>
    <option value="ISO-2022-KR">Korean</option>
    <option value="x-euc-jp">Japanese</option>
    <option value="ISO-8859-1">Spanish</option>
    <option value="ISO-8859-5">Russian</option>
    <option value="ISO-8859-7">Greek</option>
    <option value="ISO-8859-6">Arabic</option>
    <option value="ISO-8859-9">French</option>
    <option value="ISO-8559-1">German</option>
    <option value="ISO-8859-4">Swedish</option>
    <option value="ISO-8859-8">Hebrew</option>
    <option value="ISO-8859-9">Turkish</option>
    </select>
    </p>
    <p>
    <textarea name="entree_text"></textarea>
    <input type="submit" name="Submit" value="Submit" >
    </p></form>
    and in my jsp :
    // Must set the content type first
    res.setContentType("text/html");
    code = req.getParameter("code");
    example = req.getParameter("entree_text");
    PrintWriter out = res.getWriter();
    // The Servlet send to the Browser the informations to format the language type
    out.println("<html><head><title>Hello World!</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset="+code+"\"></head>");
    // System recover the general Character encoding
    String reqchar = req.getCharacterEncoding();
    out.println("<body><h1>Hello MultiLingual World!</h1>");
    out.println("You have defined an ISO of : "+code);
    out.println("<BR>This is the code of the page that is displayed in this page<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("Character encoding of the page is : "+reqchar);
    out.println("<BR>This is the character code in the Servlet");
    out.println("<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("You have typed : "+example);
    out.println("<BR>");
    out.println("");
    out.println("</body></html>");
    I think starting from this example it is surely easy to modify dynamically the jsp.
    The other possibility would be to use the Weblogic Commerce and the LOCALIZE function, so that you'll have an automatic redirection to the right jsp-encoding depending on the customer's language.
    Feel free to reply on the forum for any related issue.
    Best regards
    Nohmenn BABAI
    BEA EMEA Technical Support Engineer
    "Saurabh" <[email protected]> a écrit dans le message de news: [email protected]...
    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal[att1.html]

  • Setting the charset from an adapter module

    Hi folks,
    I'm trying to set the charset encoding of a payload using an adapter module (I know there is a TextCodepageConverterBean, but I want to set the charset for a message that hasn't one yet). The problem is probably more clear using an example.
    I output a UTF-8 flat string from my message mapping to the adapter framework (mail adapter in my case). Afterwards I want to convert this UTF-8 string to an ISO-8859 encoding with the TextCodepageConverterBean. But if I set the charset using the setContentType() function of my TextPayload object the information gets cut away. I'm using the format
    setContentType("text/plain;charset=utf-8;name=Test.txt")
    . But everything after the first semicolon is dropped. Setting the charset using the MessageTransformBean works, but I want to avoid this by all means, as I need to set the mime type from the adapter module.
    This is running on NW2004 with SP 16 and the latest patch.
    Any idea, why the MessageTransformBean works and not the setContentType call?

    This bug will be fixed with SP20.
    Regards
    Stefan

  • Why did TB set the char encoding for a reply to charset=UTF-16LE ?

    I got a message from Google AdWords in HTML format and wrote a reply. When I sent it I got a timeout trying to send it. I use AVG antivirus to scan outgoing messages using a "local server" at address 127.0.0.1.
    Note that this was my second reply to such a message from AdWords. The only thing I could see that was different was a longer subject line (ending with three periods or dots) and a longer HTML message to which I was replying.
    I tried many things to fix the problem and I cannot remember them, sorry.
    Finally, I got success after truncating the message and the long subject line. The reply was sent instantly, as usual, instead of timing out.
    But it wasn't really success. When I looked at the sent message, the characters in my reply (only) were in Chinese. Looking at the raw (source) message, I see that the charset was set as follows: Content-Type: text/plain; charset=UTF-16LE; format=flowed .
    This seems like a strange charset; nowhere in my settings do I specify anything other than Western (ISO-8859-1).
    I finally was able to send the message successfully (I think) by using Options > Character Encoding > Western (ISO-8859-1), which seems to force the message to be sent using this standard encoding instead of Little Endian.
    What caused this problem to happen? Is there a TB overflow bug for long subject lines?
    I realize that TB is an old and unsupported product, but it seems to be the only good email client to use with Windows 8, so I'm just hoping someone knows something about this.

    Originally posted by: warren.tang.nospam.com
    Warren Tang wrote:
    > Warren Tang wrote:
    >> Warren Tang wrote:
    >>> Hi everybody,
    >>>
    >>> I've been trying to set the default encoding of new files as UTF-8.
    >>> Here are the two settings I've set:
    >>>
    >>> 1. Windows > Preferences > General > Content Types, set UTF-8 as the
    >>> default encoding for all content types.
    >>> 2. Windows > Preferences > General > Workspaces, set "Text file
    >>> encoding" to "Other : UTF-8".
    >>>
    >>> However when I create a new text file, the encoding is always
    >>> ANSI/ISO-8859-1. What did I missed? Thanks.
    >>>
    >>> Regards,
    >>> Warren
    >>
    >> I've also tried
    >> Project Properties > Resource > Text file encoding = UTF-8
    >> However it doesn't work either.
    >>
    >> The only thing that works is changing the file's encoding property,
    >> but I don't want to change it every time I create a new file.
    >>
    >> Is it a bug?
    >
    > It turns out that there are other places I need to set up for HTML and
    > CSS files:
    >
    > Windows > Preferences > Web > CSS Files > Encoding = UTF-8
    > Windows > Preferences > Web > HTML Files > Encoding = UTF-8
    I'm getting mad... The file (on the disk) is still not encoded in UTF-8
    but ANSI.

  • Setting the charset in dynamic invocation

    I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
    shows how to set the charset attribute of the Content-Type HTTP header via the
    client stub. But I am not using client stubs, I'm using dynamic invocation. So
    how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
    property field for this.
    TIA...
    Mark

    The trouble with this example is that it doesn't use JAX-RPC dynamic invocation.
    The attachment contains an example of what I am trying to do. The method of interest
    is case3(), in which. on lines 294-296, is an (unsuccessful) attempt to set the
    character set. The other methods of interest here are getEMAExceptionServices()
    (which creates the javax.xml.rpc.Service object) and getUpdateExceptionResolutionStatusCall(Service
    iService) (which creates the javax.xml.rpc.Call object).
    [OK, this time I attached something.]
    -- Mark --
    Bruce Stephens <[email protected]> wrote:
    Hi Mark,
    Take a quick look at Manoj's Mega example [1] and see if this clears
    things up. If not, post your code and we can take a look, or speak to
    our outstanding support team: http://support.bea.com or [email protected]
    Thanks,
    Bruce
    [1]
    http://manojc.com/tutorial/mega/client/BindingProperties.java
    Mark Shaffer wrote:
    Bruce,
    If I try to get the "weblogic.webservice.bindinginfo" property froma Call object,
    this exception is thrown:
    javax.xml.rpc.JAXRPCException: unknown property: weblogic.webservice.bindinginfo
    at weblogic.webservice.core.rpc.CallImpl.getProperty(CallImpl.java:322)
    -- Mark --
    Bruce Stephens <[email protected]> wrote:
    Hi Mark,
    Did you try the code in the doc?
    import weblogic.webservice.binding.BindingInfo;
    BindingInfo info =
    (BindingInfo)stub._getProperty("weblogic.webservice.bindinginfo" );
    // The following method sets the Content-Type HTTP header
    info.setCharset( "UTF-8" );
    port.helloWorld();
    Thanks,
    Bruce
    Mark Shaffer wrote:
    Bruce,
    OK, but the disconnect here is that I don't have a BindingInfo object,nor do
    I know how to obtain one. All I have is javax.xml.rpc.* objects.
    -- Mark --
    Bruce Stephens <[email protected]> wrote:
    Hi Mark,
    Your client application can specify the character set that it would
    prefer the Web Service to use in its response by using the
    weblogic.webservice.binding.BindingInfo.setAcceptCharset() method.
    See: http://e-docs.bea.com/wls/docs81/webserv/i18n.html#1069629
    There is example code there as well.
    Hope this helps,
    Bruce
    Mark Shaffer wrote:
    I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
    shows how to set the charset attribute of the Content-Type HTTP
    header
    via the
    client stub. But I am not using client stubs, I'm using dynamic
    invocation.
    So
    how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
    property field for this.
    TIA...
    Mark
    [UTEMAExceptionServices.java]

  • Setting the page encoding with an extension

    Folks:
    DW CS3 on MacOS 10.6.x
    I  have a lot of legacy files encoded in ISO Latin-1 --and some exception cases in other encodings-- and I'd like to  convert uniformly to UTF8.  It's sufficient to convert files one-by-one  as I work on them for other reasons, so I'm thinking of adding this via the _onOpen  or _beforeSave mechanisms.
    Most of the files have no header as they are headerless-html snippets  that will be included by a CMS, which provides its own header .  As I  understand the applicable HTML standard, only one set of headers is allowed. (Is "headerless-html snippet" the best term? If not, what is?)
    Here's the manual method I use:   Open a file,  manually mouse to Modify --> Page Properties --> Title/Encoding to see  the current encoding. Then, if necessary, change the encoding via the  pull-down.  Click "OK" and do File --> Save, and it's done.   Although there are no visible changes to the file content, files I alter this way seem to be detected as UTF-8 encoded by DW and by other programs. (That's a different discussion.)
    It  should be possible to do this automagically, or at least  semi-automagically. (e.g. Alert("This file is not encoded as UTF-8. Do you  want to correct this?");)
    The DW CS3  API Reference gives this call:
       dom.getCharSet()
    so I know how to test the current encoding.
    But  I cannot figure out how to change the encoding.   Am I just missing  something in  Adobe Dreamweaver CS3 API Reference and Adobe Dreamweaver CS3: Extending Dreamweaver?   It is a huge amount of info. Or am I missing something fundamental about  how DW groks html and deals with encoding?
    I've looked  around for example code snippets.  The first step would probably be to  call "dom.getCharSet()" and test the return value,  but I haven't discovered anything by searching  for this.
    Can anyone direct me to a tutoria or reference section on changing the document encoding, or a relevant code snippet?
    Note:   It seems possible that I'm generally confused about encoding and how DW handles encoding.  If so, please treat this as a simple question by someone who is seeking to learn how to write DW extensions with a specific task in mind.   I've never seen any harm resulting from my manual method of setting my headerless-html snippets to be UTF-8 encoded.   If I learn how to do the same thing through the API, at least I'll have learned more about developing extensions.     I'd be glad to discuss encoding and how DW handles encoding--but that's a completely separate discussion, for another forum.
    TIA,
    hen3ry

    Hi,
    Insert a blank "Formatted Text" field on the far left, and shrink it down as much as you wish. Then insert your normal text field to the right of that.
    I hope that helps,
    Brian

  • Problem setting the PoolList attribute in a WLST script

    Hello !
    I ran the configToScript command over config.xml which has a JDBCMultipool composed of two JDBCpools. It threw the next script to create the JDBC Multipool:
    print 'configuring resource: JDBCMultiPool/MyJDBC MultiPool '
    try:
    myResource = create("MyJDBC MultiPool","JDBCMultiPool")
    except Exception:
    # print 'This resource JDBCMultiPool with name MyJDBC MultiPool failed to be created. The script will try to get it anyways.'
    myResource = (getTarget("JDBCMultiPool/MyJDBC MultiPool"))
    myResource.setPoolList("poolCatalogos01,poolCatalogos02")
    #cmo.addTarget(clusterTarget2)
    # If this fails you will have to add this target manually from the console
    from java.lang import Exception
    from java.lang import Throwable
    try:
    myResource.addTarget(clusterTarget2)
    except Throwable, th:
    print 'Problem in adding target '+clusterTarget2+ ' due to '+th.toString()
    However when the script is executed it fails at the line:
    myResource.setPoolList("poolCatalogos01,poolCatalogos02")
    and shows this error message:
    TypeError: setPoolList(): 1st arg can't be coerced to weblogic.management.configuration.JDBCConnectionPoolMBean[]
    I have tried some other ways to set this attribute, however I hadn't had any success. If some one can provide some advice, I will be grateful.
    By the way:
    I am using a WLST version downloaded last April, of 2004.
    Thanks !

    There is a bug in configToScript that is not generating the right script for setting the Pool list. This will be fixed in the next version of wlst. Here's a workaround.
    try:
    myResource = create("MyJDBC MultiPool","JDBCMultiPool")
    except Exception:
    # print 'This resource JDBCMultiPool with name MyJDBC MultiPool failed to be created. The script will try to get it anyways.'
    myResource = (getTarget("JDBCMultiPool/MyJDBC MultiPool"))
    p1 = getTarget("JDBCConnectionPool/poolCatalogos02")
    p2 = getTarget("JDBCConnectionPool/poolCatalogos02_BEA")
    plist = jarray.array([p1,p2], weblogic.management.configuration.JDBCConnectionPoolMBean)
    myResource.setPoolList(plist)
    let me know if u see any other problems, thanks,
    -satya

  • How to set the Xml Encoding ISO-8859-1 to Transformer or DOMSource

    I have a xml string and it already contains an xml declaration with encoding="ISO-8859-1". (In my real product, since some of the element/attribute value contains a Spanish character, I need to use this encoding instead of UTF-8.) Also, in my program, I need to add more attributes or manipulate the xml string dynamically, so I create a DOM Document object for that. And, then, I use Transformer to convert this Document to a stream.
    My problme is: Firstly, once converted through the Transformer, the xml encoding changed to default UTF-8, Secondly, I wanted to check whether the DOM Document created with the xml string maintains the Xml Encoding of ISO-8859-1 or not. So, I called Document.getXmlEncoding(), but it is throwing a runtime error - unknown method.
    Is there any way I can maintain the original Xml Encoding of ISO-8859-1 when I use either the DOMSource or Transformer? I am using JDK1.5.0-12.
    Following is my sample program you can use.
    I would appreciate any help, because so far, I cannot find any answer to this using the JDK documentation at all.
    Thanks,
    Jin Kim
    import java.io.*;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Attr;
    import org.xml.sax.InputSource;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Templates;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    public class XmlEncodingTest
        StringBuffer xmlStrBuf = new StringBuffer();
        TransformerFactory tFactory = null;
        Transformer transformer = null;
        Document document = null;
        public void performTest()
            xmlStrBuf.append("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n")
                     .append("<TESTXML>\n")
                     .append("<ELEM ATT1=\"Yes\" />\n")
                     .append("</TESTXML>\n");
            // the encoding is set to iso-8859-1 in the xml declaration.
            System.out.println("initial xml = \n" + xmlStrBuf.toString());
            try
                //Test1: Use the transformer to ouput the xmlStrBuf.
                // This shows the xml encoding result from the transformer which will change to UTF-8
                tFactory = TransformerFactory.newInstance();
                transformer = tFactory.newTransformer();
                StreamSource ss = new StreamSource( new StringBufferInputStream( xmlStrBuf.toString()));
                System.out.println("Test1 result = ");
                transformer.transform( ss, new StreamResult(System.out));
                //Test2: Create a DOM document object for xmlStrBuf and manipulate it by adding an attribute ATT2="No"
                DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder builder = dfactory.newDocumentBuilder();
                document = builder.parse( new StringBufferInputStream( xmlStrBuf.toString()));
                // skip adding attribute since it does not affect the test result
                // Use a Transformer to output the DOM document. the encoding becomes UTF-8
                DOMSource source = new DOMSource(document);
                StreamResult result = new StreamResult(System.out);
                System.out.println("\n\nTest2 result = ");
                transformer.transform(source, result);
            catch (Exception e)
                System.out.println("<performTest> Exception caught. " + e.toString());
        public static void main( String arg[])
            XmlEncodingTest xmlTest = new XmlEncodingTest();
            xmlTest.performTest();
    }

    Thanks DrClap for your answer. With your information, I rewrote the sample program as in the following, and it works well now as I intended! About the UTF-8 and Spanish charaters, I think you are right. It looks like there can be many factors involved on this subject though - for example, the real character sets used to create an xml document, and the xml encoding information declared will matter. The special character I had a trouble was u00F3, and somehow, I found out that Sax Parser or even Document Builder parser does not like this character when encoding is set to "UTF-8" in the Xml document. My sample program below may not be a perfect example, but if you replaces ISO-8859-1 with UTF-8, and not setting the encoding property to the transfermer, you may notice that the special character in my example is broken in Test1 and Test2. In my sample, I decided to use ByteArrayInputStream instead of StringBufferInpuptStream because the documentation says StringBufferInputStream may have a problem with converting characters into bytes.
    Thanks again for your help!
    Jin Kim
    import java.io.*;
    import java.util.*;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Attr;
    import org.xml.sax.InputSource;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Templates;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    * XML encoding test for Transformer
    public class XmlEncodingTest2
        StringBuffer xmlStrBuf = new StringBuffer();
        TransformerFactory tFactory = null;
        Document document = null;
        public void performTest()
            xmlStrBuf.append("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n")
                     .append("<TESTXML>\n")
                     .append("<ELEM ATT1=\"Resoluci�n\">\n")
                     .append("Special charatered attribute test")
                     .append("\n</ELEM>")
                     .append("\n</TESTXML>\n");
            // the encoding is set to iso-8859-1 in the xml declaration.
            System.out.println("**** Initial xml = \n" + xmlStrBuf.toString());
            try
                //TransformerFactoryImpl transformerFactory = new TransformerFactoryImpl();
                //Test1: Use the transformer to ouput the xmlStrBuf.
                tFactory = TransformerFactory.newInstance();
                Transformer transformer = tFactory.newTransformer();
                byte xmlbytes[] = xmlStrBuf.toString().getBytes("ISO-8859-1");
                StreamSource streamSource = new StreamSource( new ByteArrayInputStream( xmlbytes ));
                ByteArrayOutputStream xmlBaos = new ByteArrayOutputStream();
                Properties transProperties = transformer.getOutputProperties();
                transProperties.list( System.out); // prints out current transformer properties
                System.out.println("**** setting the transformer's encoding property to ISO-8859-1.");
                transformer.setOutputProperty("encoding", "ISO-8859-1");
                transformer.transform( streamSource, new StreamResult( xmlBaos));
                System.out.println("**** Test1 result = ");
                System.out.println(xmlBaos.toString("ISO-8859-1"));
                //Test2: Create a DOM document object for xmlStrBuf to add a new attribute ATT2="No"
                DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder builder = dfactory.newDocumentBuilder();
                document = builder.parse( new ByteArrayInputStream( xmlbytes));
                // skip adding attribute since it does not affect the test result
                // Use a Transformer to output the DOM document.
                DOMSource source = new DOMSource(document);
                xmlBaos.reset();
                transformer.transform( source, new StreamResult( xmlBaos));
                System.out.println("\n\n****Test2 result = ");
                System.out.println(xmlBaos.toString("ISO-8859-1"));
                //xmlBaos.flush();
                //xmlBaos.close();
            catch (Exception e)
                System.out.println("<performTest> Exception caught. " + e.toString());
            finally
        public static void main( String arg[])
            XmlEncodingTest2 xmlTest = new XmlEncodingTest2();
            xmlTest.performTest();
    }

  • Problem with using Callable Statements via JDBC/JSP

    Hi Pals,I have this scenario;
    If a stored procedure has being created for me on Oracle database and i need
    to execute the stored procedure via my JSP ,where i capture some parameters in
    my JSP,send this parameters to the Stored Procedure . Then the Stored procedure decides if its an Update or Insert depending on the PL/SQL(Stored Procedure) code on database.
    How do i go about this using The CallableStatement java API and obviously JDBC.
    All suggestions will be appreciated and codes as well.
    Cheers.

    This is a basic question about how a CallableStatement works in JDBC. Read the documentation on CallableStatement in the JDK. If you are having trouble understanding something in the JDK, come back here and ask a specific question.

  • Problem setting the fillColor on dynamic tables using javascript

    I try to set the background color on some text fields that I put in a dynamic table. When I set the border color, everything works fine, but not with the fillColor. If I set the fillColor for the enter event for example, the field will only get a colored border, and when I click another field, the field turns completely colored. If I set an exit event with a different color, the field flickers before changing back to white. This happens in dynamic tables only. I am using Designer 8 on Windows XP. This problem has been confirmed by others, and in different forms.

    this.border.fill.color.value = "value" works for me
    value is in 255,255,255 rgb format

  • How to set the file.encoding in jvm?

    I have some error in showing Chinese by used servlet,
    some one tole me that I can change the file.encoding in jvm to zh_CN, how can I do that?

    Add the java argument in your servlet engine.
    e.g
    java -Dfile.encoding=ISO8859-1
    garycafe

  • How do I set the charset in robohelp?

    I have to edit a Polish help file but Robohelp change the
    charset of every topic I edit from
    charset=windows-1250 to charset=windows-1252
    Resulting in the Polish characters not being displayed
    properly.
    charset=windows-1250 is for Belarusian, Croatian, Czech,
    Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian
    But I can't choose any of these languages in Project
    settings.
    How can I force Robohelp in keeping or using
    charset=windows-1250?

    I haven't tried with Japanese, but Roboholp will keep the
    original charset of your htm files as long you don't open/edit
    them.
    First it's important you change you Regional options and
    Language for non-unicode programs to japanese.
    Then if I need to edit something, I will make my changes save
    the project then change the charsert using notepad.
    (If you edit a bunch of them you can use notepad++ to do a
    find and replace in files)
    Then reopen the project and compile it.
    Don't edit the htm source in Robohelp what you see is not
    necessarily what you get.

  • Problems setting the recording path

    I have recorded hundreds of songs successfully by setting the recording path to the project folders on my external hard drive. Now whenever I open a new project and go to record an audio file it ask me every time to set the recording path. I pick the location on my external, click save and then hit the record button and then the whole process starts all over.

    does your drive has a Sleep mode (or something like that) preference?that's after a certain time of inactivity...goes to sleep
    Might be that..
    A

  • Chess UI Code Posted... Problems setting the background of JLabel.

    import javax.swing.*;
    import java.awt.*;
    import javax.swing.border.*;
    class chess
         JLabel l[];
         JPanel p;
         public chess()
              l = new JLabel[65];
              p= new JPanel();
              p.setLayout(new GridLayout(8,8));
              p.setBorder(new MatteBorder(2,2,2,2,Color.black));
              for(int i = 1; i<=64; i++)
                   l[i] = new JLabel(""+i);
                   p.add(l);
              JFrame f = new JFrame ("Hello");
              f.getContentPane().add(p);
              f.setSize(500,500);
              f.setVisible(true);
         public static void main(String args[])
              new chess();
    hello, i have created an array of JLabel and i wannt to set the background of JLabel white n black.. But when i write this statement it does not work..though it shud.
              if (i%2==0)
                   l.setBackground(Color.black);
              else
                   l[i].setBackground(Color.white);
    where i am going wrong n wht is the way to do this...

    can u tell wht shud i use in the if else block coz... the output is not wht i was expecting....u nd 2 chng clr wn lb @ % 8

  • Setting the interchannel delay via DAQ assistant

    I have explored all the options provided as I double clicked on the DAQ assistant. But there seems nowhere to set the interchannel delay. I wonder if the interchannel delay can still be set even when I'm using the DAQ assistant?

    Hi hlseck,
    In DAQmx, the interchannel delay is also known as the Convert Clock.  You cannot set the Convert Clock within the DAQ Assistant.  The best solution is to set up your DAQ Assistant, right-click the DAQ Assistant and select Generate NI-DAQmx Code.  Then, insert a DAQmx Timing Property Node before your DAQmx Start Task to set the Convert Clock rate.
    If you are using NI-DAQmx 7.4  or later, you can be assured that the readings are set to
    scan between channels as quickly as the hardware can physically produce
    accurate readings.  If you would like to slow down this behavior (i.e.
    increase the interchannel delay) you can set the Convert Clock rate
    manually in a the DAQmx Timing Property Node using the Convert Rate
    property:
    For more information on how the DAQmx driver handles the Convert Clock, or interchannel delay, please see this KnowledgeBase.
    Regards,
    Erik

Maybe you are looking for