UnsupportedEncodingException in JRE only and not with SDK

Hi,
I am running my Java program as a application in Win NT run time environment and the app uses JConnect 5.2 as its JDBC driver. JDBC connection is succesful but a query fails for the "UnsupportedEncodingException" error listed below. I don't get the same error if I use SDK version of Java.exe but I get the error only with the java.exe of the JRE.
What is different in the Run time environment. Any solutions?
Error: java.sql.SQLException: JZ006: Caught IOException:
java.io.IOException: JZ0I6: An error occured converting UNICODE to the
charset used by the server. Error message: java.io.CharConversionException:
java.io.UnsupportedEncodingException: Cp437
Thanks,
Bala

My guess is that you use the US English version of the JRE which only have the basic encodings. If you use the International version, it should work. Check
http://java.sun.com/j2se/1.3.0/docs/guide/intl/encoding.doc.html

Similar Messages

  • Why is my airportxpr only working with Itunes and not with another music program

    why is my airportxpr only working with Itunes and not with another music program??
    I can not select/see other outputs in my sound selector.

    You have not indicated which OS or which music program you have so I have listed a program called Airfoil to try for both Windows and Mac - it may work for you
    for Windows - http://rogueamoeba.com/airfoil/windows/
    for Mac - http://rogueamoeba.com/airfoil/mac/

  • Alv output to Excel with numeric fields as numeric fields only and not char

    Hi,
    When we download the alv output to excel format in the locat file using the toolbar button provided in the ALV, the numeric fields get converted to character format. Is there any other way or settings in ALV so that the numeric fields will be get saved as numeric fields only and not character?
    Rgds,
    MAdhuri

    any idea for above problem is welcome

  • Can i use Stored procedures and triggers with SDK

    hi all
    How to use the stored procedure and Triggers with SDK, can i get a sample code
    Regards
    Salah

    Hi, Salah.
    Use "Exec" in your query to run procedures.
    SAPbobsCOM.Recordset     oRS;
    oRS = (SAPbobsCOM.Recordset)pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
    oRS.DoQuery ("EXEC YourStoredProcName");
    Triggers are not supported in SDK.
    Regards,
    Aleksey

  • Account Number In Bank Account Transfer CM It Show For My User Only and Not

    Hi,
    Cash Management / Bank Account Transfers
    when make transfer From Bank Account Transfer and Enter Of All The Required Data
    And Search Bank Account Number It Show For My User Only And Not Show For Some Other Users
    With The Knowledge That The same responsibility For My User and All Users In Cash Resp.
    How to solve this problem ??
    Thanks,
    Mohamed Gamal
    Edited by: Mohamed Gamal on May 12, 2011 11:12 AM

    I bought MLB.tv premium through Apple TV however I was not provided with a user ID and password to be able to log in on to the computer to watch as I would if I bought directly from MLB.tv.  Is this a scam?  Anyone else have this issue.

  • Javax.faces.ViewState value starts with '%' and not with '!'

    While recording and ADF Application on JMeter, what should the regular expression extractor be when the javax.faces.ViewState recorded value starts with '%' and not with '!'.
    I have been following the following link and it talks only about javax.faces.ViewState values that start with '!'
    http://one-size-doesnt-fit-all.blogspot.in/2010/04/configuring-apache-jmeter-specifically.html

    Hi,
    If '!' present in first position of string, you need to remove it or replace it in transformation.
    Following is the  sample code...
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE.
          record_num = sy-tabix.
          IF ( ls_SOURCE_PACKAGE-fieldname(1) = '!' ).
            ls_SOURCE_PACKAGE-fieldname(1) = '' .
    ENDIF.
        MODIFY SOURCE_PACKAGE INDEX record_num FROM LS_SOURCE_PACKAGE.
      ENDLOOP.
    Hope this helps..

  • Podcasts showing up on iPhone only and not iPod anymore.

    Have been keeping all my music and podcasts on an iPod and not on my iPhone5s.  With the latest IOS update a Podcast icon showed up on my iPhone.  Now my subscribed poscasts show up on my iPhone only and not in iTunes nor my iPod.  How do I convert back to my old setup?  All previous podcasts are still on the iPod, just the latest downloads since the update are on the iPhone.

    Hello Tuesday117,
    Thanks for using Apple Support Communities.
    To help troubleshoot this issue where you are not receiving all iMessages on your iPhone please follow the steps outlined below.
    If you aren't receiving iMessages across all iOS devices
    Go to Settings > Messages > Send & Receive on each iOS device and make sure that you signed in with your Apple ID. You must use the same Apple ID on each device.
    Go to Settings > Messages > Send & Receive > You Can Be Reached By iMessage At and make sure that you selected each phone number and email address you want to use with iMessage.
    If you linked a phone number to your Apple ID with iMessage and the phone number hasn't appeared, follow these steps.
    Sign out of your Apple ID in Settings > Messages > Send & Receive and Settings > FaceTime on all devices.
    If you're linking a phone number to an Apple ID, sign in to iMessage on your iPhone first. Then sign in to the rest of your device one by one with iMessage and FaceTime.
    iOS: Troubleshooting Messages - Apple Support
    Take care,
    Alex H.a

  • Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    tammersalem wrote:) <-HDMI-> (HDTV)
    My main concerns are:
    -If I use iTunes on my main computer, will it then be available to Apple TV?
    -If I use Apple TV to download will it be available to my Main computer?
    -Can the Apple TV use a media server for storage over LAN (using NTFS Samab or otherwise)?
    Basically iTunes feeds AppleTv with media either syncing (copying to it) or streaming live.
    Media must be compatible with AppleTV.
    AppleTV requires a proper iTunes instance running - it cannot access a NAS directly.
    If you store media in a folder on a NAS and it's part of the computer iTunes library (just stored on the NAS vs internal/external drive), then when running iTunes makes this content available to AppleTV.
    Data will travel:
    NAS > network > iTunes > network to AppleTV
    As the path is potentially slower than internal/external attached drive > iTunes > network > AppleTV, it may or may not work robustly for streaming.
    If AppleTv is set to sync (it can also stream in this mode), when you purchase direct on AppleTV, the media should sync back to where the itunes library is stored (via iTunes) to keep things in sync and to allow you to backup the media.
    You cannot drag/drop media to/from AppleTv across the network, nor can it directly access storage itself - iTunes is an essential cog in the wheel.
    The majority of commercial 'in-built iTunes media servers' will not work directly with AppleTV as it has to be 'paired' with iTunes by entering a numerical code in iTunes and does not simply see 'shared libraries'.

  • In User groups user name is shown as ADLDSMembershipProvider:UserID and not with First & Last Name

    Hello,
    In SharePoint site Groups for some users, user name is coming up with ADLDSMembershipProvider:UserID and not with the correct first name and last name. 
    Can some one please advice how i can get the correct first name and last name for the users, below screenshots for your
    reference.
    Please advice.
    Regards,
    Purvish Shah

    Hello,
    What version of sharepoint you are using?
    It seems that you have also configured custom membership provider with AD LDS. To verify this go to central admin and check the web application properties to confirm what auth method is being used.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I purchased a IMac in Feb later I added a Seagate ext. hard drive. On April 29 I received an errors that the ext. Drive may be a read only and not backing up files. I'm unable to check disk permission or correct errors. Help would be appreciated.

    I purchased a IMac in Feb later I added a Seagate ext. hard drive. On April 29 I received an errors that the ext. Drive may be a read only and not backing up files. I'm unable to check disk permission or correct errors. Help would be appreciated.

    Click on the hard drive on the desktop, then File > Get Info. What does it say about permissions?  If this is just a data drive you may want to consider "ignore ownership on this volume".
    Otherwise I can only say I have not been reading good things about Seagate drives recently.  I have some of their rock-solid ones from about 10 years ago (still running well), but now...?

  • How can I email a photo as an attachment only and not as a photo in the body of the email?in the message

    How can I send a photo as an attachment only and not in the body of the email?

    Just drop it into the message. It goes as an attachment. Or select the image, CTRL- or RIGHT-click and select Compress .... from the context menu. Then attach the archive.

  • I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    Go to the Map mode in your iDVD project and make sure the blue bin at the left is empty.  That's where you drag slideshows to if you want the DVD to open immediately to that slideshow and bypass the menu. 
    Click to view full size
    If there is an item in there drag it out.
    OT

  • Booting with mode CLI and not with the console.

    hi,
    On a SF300-08, is anybody knows how to work with CLI and not with the Console Menu Interface ?
    Thank you for your help.
    Pascal Linglin

    Hi Pascal.
    Firstly make sure your switch is using the most recent firmware, which is now as of yesterday  1.1.2.0 .
    When that firmware is running on the switch,  a textview CLI option should be seen on the main menu as per the following screen capture;
    to get back to the menu, just type menu from the cli interface.
    Hope i answered your question?
    regards Dave

  • Code works with Dreamweaver CS6 and not with CC

    <p><a href="javascript:void(0)" onclick="window.open('http://www.anything.comt', '', 'top=20,left=20,toolbar=0,statusbar=1,scrollbars=1,resizable=1')" title="title">name</a></p> works with Dreamweaver CS6 and not with CC
    [Edited Title and moved to Dreamweaver- JTS]

    I'm not quite sure I understand your point.
    I have just tested the Open Browser Window behavior in Dreamweaver CC. It creates slightly different code from Dreamweaver CS6, but it works correctly. This is what is created in the HTML:
    <p>my <a href="#" onClick="MM_openBrWindow('http://www.adobe.com/','mywindow','toolbar=yes,location=yes,status=yes,menubar=yes,scrollb ars=yes,resizable=yes')">link</a>
    </p>
    Dreamweaver CC also adds the following code to the <head> of the page:
    <script type="text/javascript">
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    The definition of the MM_openBrWindow() function is needed in the <head> for the code to work. But it definitely works OK.
    With regard to _self and _blank not working, I can't find any problem with the way Dreamweaver CC handles them.
    However, if you feel happier working with Dreamweaver CS6, you can download it from the following page:
    https://creative.adobe.com/products/dreamweaver
    Open the drop-down menu under "In this version", and select Dreamweaver CS6 as shown in the following screenshot:
    With Dreamweaver CS6 selected, click the large Download button at the top-right of the page. You can then download CS6, and install it alongside Dreamweaver CC.

  • How to delete email from iPhone ONLY and not from server?

    Hi. I have a Yahoo! POP mail account.. Can anyone advise me how to setup my iPhone so it ONLY deletes email from the iPhone and NOT the server. So, after I read an email on the iPhone and delete it, the email remains in the INBOX on the server? If not, I will send a feedback to Apple. BTW - I can dl and send email just fine. Thank you.

    ampullae,
    When you setup Yahoo on the iPhone it defaults to IMAP because Yahoo offers free IMAP Push for iPhone users, as discussed in this article:
    http://docs.info.apple.com/article.html?artnum=305882
    If you add your Yahoo account as "other" it will be setup as POP.
    With IMAP messages are stored on the server, and messages created in one email client, such as the iPhone, show up in the sent mailbox on both. In addition messages moved to a different folder on the iPhone, will be in a different folder when you access your Yahoo mail via a web browser or another IMAP client. Likewise message you delete, will also be synchronized and deleted.
    Hope this helps,
    Nathan C.

Maybe you are looking for