Anyone who use form to transfer chinese char to java class?

It is Urgent!
I use form6i to construct my application,but when I use
import java class to call a java program,I find then I input
some chinese character, whether the java program return it
directly or decode it as GBK, ISO8859_1,ASCII. the form
can not get the original charater,but when we not use java
and just return the character in the form. the charater can
work.....
so I want to ask,if we must use java program to handle
the chinese character,what can I do...
My email is [email protected]
Thanks!!

There is a bug on this already - Forms should handle the characterset translation from Java to whatever charset is being used by Forms, but it does not. You can work around it by running Forms with UTF8 as a characterset (using the NLS_LANG parameter to set it)

Similar Messages

  • Anyone who used WordPerfect remembers their macros--atimesaving "mini-program" (I think they called it) so you wouldn't have to retype often-used text like your name, address, phone number. How do I do this in Firefox?

    I'm sure Firefox has a shortcut so I don't have to retype often-used text over and over again (like my name, address, phone #).
    If anyone remembers using WordPerfect, "macros" was their tool for accomplishing this.
    What's the shortcut in Firefox?

    Firefox does have what is called "Form Autocomplete". It remembers frequently used form entries (such as a name), and suggests them next time you fill out a form.
    [https://support.mozilla.org/en-US/kb/Form-autocomplete https://support.mozilla.org/en-US/kb/Form-autocomplete] explains the feature in more detail, as well as info to make sure it is working properly.

  • Using log4j in User definied Extension Function java class

    Hi
    I am having a java class where I defined all the user defined XSL Functions.
    I used System.out.println for printing.
    But I want to use log4j. But when I use this to debug. It is not recognising only.
    Could you please tell me why this is not working in this class?
    Regards,
    Praveena

    Hi Anuj,
    I can see the below error in the default log file:
    09/08/11 16:25:21 log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
    09/08/11 16:25:21 log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
    09/08/11 16:25:21 log4j:ERROR [global.libraries:1.0] whereas object of type
    09/08/11 16:25:21 log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by [oracle.bpel.common:10.1.3].
    09/08/11 16:25:21 log4j:ERROR Could not instantiate appender named "LOGFILE".
    09/08/11 16:25:21 log4j:WARN No appenders could be found for logger (oracle.sample.XSLFunction).
    09/08/11 16:25:21 log4j:WARN Please initialize the log4j system properly.
    log4j.properties file:
    # Set root category priority to INFO and its only appender to CONSOLE.
    log4j.rootCategory=INFO, LOGFILE
    # LOGFILE is set to be a File appender using a PatternLayout.
    log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
    log4j.appender.LOGFILE.File= C:/product/10.1.3.1/OracleAS_1/opmn/logs/XSLUtilExten.log
    log4j.appender.LOGFILE.Append=true
    log4j.appender.LOGFILE.Threshold=INFO,DEBUG
    log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
    log4j.appender.LOGFILE.layout.ConversionPattern=<%d>[%t] %p %C: %m%n
    log4j.appender.LOGFILE.MaxFileSize=40MB
    log4j.appender.LOGFILE.MaxBackupIndex=10
    Could you please tell me what is the problem?
    Edited by: Jakarta on Aug 11, 2009 4:16 AM

  • Using oracle.sql.BLOB data type in Java Class to pass in a Blob

    All,
    I'm trying to pass in a BLOB from PL/SQL to a Java Class, but the BLOB isn't passed correctly.
    When I check the length of the BLOB in PL/SQL its different from the length of the BLOB in java.
    I'm using DB 11g and the ojdbc5.jar file in my java classes.
    The java function uses the oracle.sql.BLOB type to get the parameter.
    The java class is loaded into the DB and called via a PL/SQL function.
    Kind regards,
    Nathalie

    The question is indeed a little ambigious defined ;o)
    When I pass the BLOB to the java method and invoke BLOB.getBytes() and then get the length of the BLOB in java the length of the BLOB is bigger than in PL/SQL.
    When I use the method 'getBinaryStream' and write this to a buffer, the code works.
    I will log a tar regarding the getBytes()-method to ask for more detailed information regarding the methods provided using the JDBC Drivers.
    Kind regards,
    Nathalie

  • Anyone who used Com Interfaces of RTC API (rtcdll.dll),please help me

    Hi All
    I am seriously struggling with wrapping RTCAPI (rtcdll.dll) to java.Anyone having any idea on it,please revert back.I have used ezjcom tool and facing some exceptions,anyine can help me on this.

    I don't know about this "RTC", but if you just want to use a DLL in Java, you can use JACOB: http://sourceforge.net/projects/jacob-project/

  • To anyone who uses a USB Keyboard

    Can you give me some feedback on them? I'm thinking about getting the M-Audio Keystation 49e - USB Midi Keyboard for $99.00
    I'd apprectiate any input that I could get!
    Thanks in advance,
    Danny

    I love this keyboard as well! But honesly I feel like there is a very slight delay in the keyboard. This is not due to my system (dual 2.7 & 2.5gigs of ram) I just wish the repsonse time was a little bit faster and it would be fine. Most people wouldn't pick up on this... but if you've played alot of baby grands and expensive piano's its very easy to tell. Of course this is a just keyboard, but even most keyboard's have a quicker response time than this one.
    I'm serious, I have a standard keyboard (with speakers built in) right beside my M-Audio midi controller and the standard keyboard has a slight faster response time... for me its just enough to drive me crazy!
    Most friends who come over and play the keyboard - the first thing they say is... "oh, there's a very little delay"
    Could anybody guess what the problem might be? mabye its the fact that its a $100 keyboard? Or even mabye usb? Would a midi port provide a faster response? Help me out guys! thanks

  • Question for anyone who uses temperature monitor

    i think my temperature monitor is broken..i had it on my last macbook and it worked fine..but this one says my computer is constantly at 21*Celcius...and i've tried uninstalling it and reinstalling it..what is the best temperature monitor?

    None of these these temperature monitors are going to work right with the current Intel Duo Core chips. It's an Intel processor design fault. I got this info from the Hardware Monitor developer.
    Q: I have a Mac with an Intel Core Solo or Core Duo processor.
    Sometimes, the temperature readings seems to "hang" and are no longer
    being refreshed. Is this a problem with the application?
    A: No, this problem is caused by an internal design flaw of current
    versions of Intel Core processors. The Digital Thermal Sensors may
    stop working when the processor returns from a C3/C4 power saving
    state. Intel plans to correct this hardware bug for future steppings
    of the CPU.
    Intel refers to this hardware problem as Erratum AE18. For detailed
    information, please see Intel document 30922204
    http://www.intel.com/design/mobile/specupdt/309222.htm
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    ITMS: MacOSG Podcast
     An Apple User Group 

  • Anyone  Logic-user, who use Virtual Guitarist or Basist, by Steinberg

    Hi, I bought Steinbergs Virtual Guitarist 2 and Virtual Basist.
    I use Logic Pro 7.0.1 and OS X 10.3.9 in my iMac G5 (2 Gb RAM).
    First everything was good and then I didn't find VG2 from my AU-instruments.
    The basist was there.
    I run the AU-manager, and it was OK for a while and then I lost it again.
    In the Steinbergs Virtual Guitarist 2, Operation Manual they tell System reguirements OS X 10.3.9, but on Steinbergs web-sites they say OS X 10.4.
    I have a recording studio. I 'm in a hurry, but VG2 doesn't function.
    Is there anyone who use Virtual Guitarist 2 or Virtual Basist.
    If there is, please tell me about your experiences or OS-versions.

    Hi.
    Sorry for the delay in replying to your post below. I have all of the apps that you're speaking of - including the acoustic version of virtual guitar. I do not have the latest version of VGEE, although I do have an earlier one.
    They are running fine, with the following exceptions:
    1. The VGEE is not recognized as a compatible plug-in using Logic's AU Manager. Not to worry though, simply try to validate the progam using AU Manager and then, when it fails, exit the manager. The program should then appear in your plug-in list underneath a separate invalid sub-listing.
    2. If you can get the plug-in to load correctly, and you cannot load any samples/patterns, you may need to redirect the plug-in to the correct folder for the samples. There is a small app available on steinberg/yamaha's web site for this...although I've not seen it/used it for some time.
    Good luck,
    David

  • How to use Forms Default Database Connection in java class

    When a form based application is started, a connection is made with underlying database. This is the Default (Primay) Database Connection.
    The problem is I have some of my business logic implemented in a java class. In this class I have to make a another connection with the same database. What I want to do is to use the original Database Connection in the java class. In this I may avoid the overhead of reconnection.
    Could anyone pls guide me in this way...

    you can't share the forms connection. Sorry :(

  • Is Adobe Connect part of Adobe Creative Cloud? Are there any best practices ideas from people who use Connect and Creative Cloud?

    Is Adobe Connect part of Adobe Creative Cloud? Are there any best practices ideas from people who use Connect and Creative Cloud?
    I have an Adobe Connect account and I'm are also in the early stages of developing a webinar. I am looking for any tips and advice from anyone who uses both of these services.

    As the £27, was an introductory offer. Upon the completion of one year, the price will change to the normal creative cloud cost which is at £46.88. However if you have the previous versions of the creative suites like CS 3, 4, 5, 5.5 or the CS 6. You can avail the offer at £27.34 per month incl. VAT. However this Requires annual commitment; billed monthly.

  • Using java classes in forms

    Hi All
    Has anyone ever imported java class in forms and then run those forms successfully on web ??????
    Plz help ... its urgent ..... i m successfully running the forms after importing java code in client/server mode but unable to run on web.
    I have set the wrapper.classpath in jserv.properties file of apache but the form is unable to locate the java class.
    where to set the classpath then ????

    You have installer the JDK 1.2 (This software located in a Sun Microsystems Web Site), and you have a configure the your PATH:
    PATH=%PATH%;< path your JDK installed >;
    If you have Designer 6i installed in your machine, then your Enviromento Variable PATH = PATH=< path your JDK installed >;%PATH%;
    After configure the PATH, you have a create another Enviroment Variable CLASSPATH with:
    Example:
    CLASSPATH=C:\oracle\designer\TOOLS\COMMON60\JAVA\IMPORTER.JAR;c:\jdk1.2.2;
    Test your Forms 6i.

  • Java class in oracle forms

    Hello experts,
                        I am new in oracle forms.I am using oracle forms 11g with weblogic 10.3.5 at windows 7.Someone please clear me that the injection of java programing in oracle forms is through BEANS item only or I can use it(java class) as a part of my oracle forms.I mean I have a Java class.Could I use this java class inside my oracle forms without using Beans Item.
    Thank You
    regards
    aaaditya

    In forms you can use java in two different ways
    1. On the client-side. Using java-beans you can extend the client-functionality of forms. The code will run on the client-computer in the context of the applet.
    2. On the server-side. Using the java-importer you can build a PL/SQL-wrapper around a java-class and so use the java-code in your forms-PL/SQL
    What is your reuqirement?

  • Help me which JNDIFactory to use to access EJB from a java class of JAR

    I am confused in understanding the different JNDI factories
    RMIInitialContextFactory, ApplicationInitialContextFactory and ApplicationClientInitialContextFactory
    And the different namespaces like global, container local and component local.
    Especially is there any relationship between the JNDI factories and the namespaces?
    Or are they related to the deployment descriptors.
    Because in application specific deployment descriptors (orion-ejb-jar.xml), we just map the JNDI location with the object (or its reference from ejb-jar.xml). We dont specify it can be accessed from this factory or that.
    Shall we access an EJB from using any JNDI factory?
    Specifically, I am stuck with what Factory to use to access an EJB from a Java class in a library (jar). The JAR is packaged with the EAR which contains the EJB Jar that I am trying to access.
    THANK YOU

    Ed,
    As Robin said, I think you need code similar to this:
    Context c = new InitialContext();
    Object o = c.lookup("java:comp/env/Name");where Name is the name of your EJB as it appears in the "ejb-jar.xml"
    deployment descriptor XML file.
    Good Luck,
    Avi.

  • How to show chinese char form db in my jsp portlet?

    How to show chinese char form db in my jsp portlet?
    I had tried to set contentType in renderResponse, but itn't work ..

    Bent,
    You can access the database from your Java portlet, just like from any other Java/JSP environment. Yes, you can use JDBC, as well as BC4J.
    The Discussion Forum portlet was built using BC4J, take a look at it's source to see how it was done.
    Also, check out Re: BC4J Java portlet anyone?, it contains a lot of useful information too.
    Peter

  • Iphone 4s - how do I change the name in the contacts for the owner of the phone - it is coming up as the other person who uses the laptop - so when ringing or texting anyone 2 names are being used as the caller id on the screen

    Iphone 4s - how do I change the name in the contacts for the owner of the phone - it is coming up as the other person who uses the laptop - so when ringing or texting anyone 2 names are being used as the caller id on the screen

    *Ralph Johns* writes:
    "Your options are:
    Get a trial account form @mac which will work as an iChat name after the 60 days run out but not be a email account that is valid (And is free)"
    Do you mean a trial account from .Mac? (DotMac)
    "Get an AIM Screen name and set it to Display what you want as you set it up.
    The Screen name can be whatever yu want but you can also set it to display something else as well."
    I had thought about this, but it seems other people have already chosen the screen name "pinksharkmark" and virtually every variation of it I can think of. So that isn't an option for me. As for getting it to display something else as well, do you mean that if I were to get an AIM screen name like "CromulentCat" I could somehow log in to iChat under the AIM account "CromulentCat" yet get iChat to represent me to my Buddies as "PinkSharkMark"? Because I have to admit I don't see how that can be done. It appears as if iChat displays to anyone chatting with you precisely the account name you logged in under and nothing else. So if you logged in using a .Mac account, then you are displayed as "[email protected]" while if you logged in under an AIM account, you are displayed as "CromulentCat". But that's it that's all... there is no way to change CromulentCat to PinkSharkMark.
    Thanks very much for taking the time to reply, though.

Maybe you are looking for