What's going on -- when save Japanese charcters to database?

From this Oracle Forum discussion, I learned that when you get
the input value(from html form), you have to do a 'translation',
because of Servlet design behavior, for example:
translatedParameter = new String(request.getParameter
("param").getBytes("ISO-8859-1"),"Shift_JIS").
I tried this, and it does work well- the japanese characters are
saved properly to Oracle database.
But this works only when I use Jrun Servlet engine+oracle
database. If I use Jakarta-tomcat, I do NOT need to do
any "translation" coding to save to oracle database properly.
what's more, if I use SQL database, I also do not need to do
this kind of decoding no matter what servlet engine is used.(it
do not work if i do the "translation" stuff )
I am confused :since the reason to do the "translation" is
because of the servlet design behavior, it should be required
for all type of servlet engine and database. but the truth is
not. do anyone know what's going on ?

EDITOR=nano
sudo visudo
export EDITOR=nano && sudo visudo
They both open with vi. So how the heck do I edit my sudoers file then ?
PS:
I'm sure vi is a powerful editor (in the right hands) but it's waaaaay off the KISS principle.
Nano is like 30 times easier. I couldn't even find the QUIT command in vi, lol.
Last edited by DSpider (2010-11-07 14:23:06)

Similar Messages

  • HT201514 Please can someone tell me what is going on when I get this message, The backup disk image "/Volumes/Data/Carole Wilson's MacBook.sparsebundle" is already in use.  Latest successful backup: Yesterday, 2:04 PM

    Please can someone tell me what is going on when I get this message for the Time Capsule?

    Yes, this is because Lion or ML which you are using have lousy networking.
    The trick is simply reboot the TC..
    Or on Lion use the 5.6 utility and disconnect all users.
    For ML sorry.. Apple decided you don't need that function any more!!.
    http://pondini.org/TM/Troubleshooting.html
    Read C12.. I think C17 is also related.

  • What is going on when my ipad throws me out of Facebook or a game back to the original desktop?

    What is going on when my iPad throws me off Facebook or out of a game back to the original desktop?

    if a program such as facebook encounter an bug or malfuction it can't recover from it exit and close
    and the desktop is displayed
    why facebook or the game encounter this error could be a bug in their code or a bug in the operating system
    at any rate restarting the ios device is adviced
    http://support.apple.com/kb/ht1430

  • What is going on when a computer appears in my Network without auth?

    Can someone help me in understanding how or why someone's computer appears in Finder under Network. Normally, when I look under Network I see Severs and Library, now I am seeing some guy's name with his ibook below Severs. When I highlight it, the only option is connect. I have not tried connecting and I am unsure how this person's computer was added to my Network. It disappears when I restart the computer but appears again after a few hours. I am at home on a WEP encrypted WiFi network (netgear router Model WGT624 v2). I have not given the password to the WiFi to anyone. My firewall is on and I do not have any of the options checked to access the internet but network time. I was using frostwire to download a bittorrent at the same time and browsing the web on firefox.
    Is someone connecting to my computer? Can they access my files? Can I tell what they accessed? How can I prevent this from happening now and in the future? Does this have to do with the bittorrent download? If so, are these unsafe ways to download files off the net?
    I appreciate any advise or suggestions.
    Thanks!

    The only way that other computer could show up in your network is if your WEP password has been compromised or you don't really have your wireless router configured properly. None the less you are probably not in any danger of having your computer files stolen or looked at. Another user on your network would still need to login to your machine and would need your user password to do that. You would also have to have personal file sharing turned on. It is off by default.
    I would recommend that you immediately change your wireless router settings to WPA or WPA2 for security, if your router supports the protocol. The WEP system was cracked years ago and is easily bypassed by special software. There was even a recent 60 Minutes segment that showed how easy it was to get into a WEP encrypted network. It turns out that banks and credit card companies are still using WEP even though they know, or should know, that it is no longer secure. Scary stuff actually.
    If your router doesn't support WPA or WPA2 then get one that does. OS X Tiger supports both WPA and WPA2 out of the box and so do most Mac wireless cards in the last three years at least.
    Message was edited by: lkrupp

  • What's going on when you type "sudo visudo" and hit Ctrl+C ? And why ?

    It goes into a loop:
    I tried several times to grab the nonsense on the screen.
    Is this a bug ? I'm not sure if it's related to xterm (because the same happens in guake).
    It's freaking me out. What do ?
    PS: I'm using the open source xf86-video-nouveau driver if you think it may be a driver issue.
    Last edited by DSpider (2010-11-07 11:47:42)

    EDITOR=nano
    sudo visudo
    export EDITOR=nano && sudo visudo
    They both open with vi. So how the heck do I edit my sudoers file then ?
    PS:
    I'm sure vi is a powerful editor (in the right hands) but it's waaaaay off the KISS principle.
    Nano is like 30 times easier. I couldn't even find the QUIT command in vi, lol.
    Last edited by DSpider (2010-11-07 14:23:06)

  • What is going wrong when I run HDR ?

    Just now I tired to run merge to HDR under the file menu.  I have used it in the past and it worked fine.  Today on 8-10 trys HDR would go through the process but before getting to the adjustment window the image would just be gone.  It had run through all the layer adjustments fine but...then nothing.  I tried using 5 different exposures.  It will work with 3 exposures.
    On a MAC PRO tower with 7 gig of HD.  Everything else is running fine on the MAC and in PS.  I am baffled.
    Image was shot with tripod so I am not Aligning the exposures.  In fact they are all from the same RAW file processed at different exposures with different names.  They are tif files.  Camera 5D MarkII.
    Thanks,
    Skip Nall
    http://www.skipnallphoto.com/
    http://skipnallphoto.blogspot.com/
    http://SkipNall.imagekind.com/
    http://ph.linkedin.com/in/skipnall
    http://twitter.com/skipnall

    Thanks Chris,
    Actually I do know what HDR is for and have used it in both PS and Photomatrix for some time with good results;
    I have used it in the past with both RAW files and processed tif files of different exposures with good results, not an HDR precisely but interesting and fun to play with.  Using it both ways it has always gone through the entire process without problems.
    In this case it will process three tif files of the same image, processed differently with good results and displays the Prompt to enter and/or choose which files to use for the merge process, leaving it in a 32 bit, then when converting to a 16 bit file gives the appropriate dialogue box to choose the processing method.
    After reading your  reply I did a test with RAW files of different exposures shot on a tripod, old files I had successfully merged as HDR in the past. Again with three files it worked perfectly but adding a fourth or fifth shut down before displaying the Prompt to enter and/or choose which files to use for the merge process.
     Skip Nall 

  • Error when save date in SQL database

    Hi all,
    I try to save a date in to a sql database, but when I run my program I get following error:
    Invalid object 11/21/05 9:32 AM of type java.sql.Date assigned to host variable 3.
    In my database table I have a fields date (type Data)en time type(Time).
    this is the source:
         public void createTitle(int title_id, String description, String user)
              throws SQLException {
              // TODO Auto-generated method stub
              Date date = new Date();
              String dateFormat = "YYYY-MM-DD";
              String timeFormat = "HH:mm:ss";
              SimpleDateFormat ddf = new SimpleDateFormat(dateFormat);
              SimpleDateFormat tdf = new SimpleDateFormat(timeFormat);
              String det = ddf.format(date);
              String creationTime = tdf.format(date);
              PreparedStatement newTitle = conn.prepareStatement("INSERT INTO BE_TITLE (TITLE_ID, DESCRIPTION, DATE_CREATE, TIME_CREATE, USER_CREATE) VALUES (?,?,?,?,?)");     
              try{
                   newTitle.setInt(1,title_id);
                   newTitle.setString(2,description);
                   newTitle.setDate(3, new java.sql.Date(date.getTime()));
                   newTitle.setTime(4, new java.sql.Time(date.getTime()));
                   newTitle.setString(5, user);
                   newTitle.executeUpdate();
              }finally{
                   newTitle.close();
    Can someone give me a solution for this error
    Richard

    Hi Richard,
    in your application, you atempt to insert a java.sql.Date value into a DATE column, which has non-zero time-components. Open SQL rejects such an atempt.
    Please allow me to quote from the OSS message (452727 2004), which Detlev refers to in his quote:
    <i>
    about one year ago, we had a very lengthy discussion on this issue - not only internally at SAP but also with Jonathan Bruce, the specification lead for JBDC at Sun.                                                                               
    We have the following dillema:                                                                               
    The javadoc of the constructor java.sql.Date(long) states:                                                                               
    "If the given milliseconds value contains time information, the driver will set the time components to the time in the default time zone (the time zone of the Java virtual machine running the application) that corresponds to zero GMT."                                                                               
    With Jonathan Bruce, we tried to clarify when this normalization should take place.                                                               
    1) Source code inspection shows that it is not the class java.sql.Date the performs the normalization.                                                                               
    2) The Javadoc states that the JDBC driver should perform the             
    normalization. If it is the driver, more open questions arrise:                                                                               
    a) When shall the normalization be performed?                             
       - if a setDate method is invoked?                                      
       - only for INSERT and update statements or also for all other parameters?                                                               
       - shall the getDate method perform the normalization?                  
       - what about set/getObject?                                            
       - the java Docs of set/getDate don't tell anything about normalization.                                                            
       - according to which time zone shall the value be normalized?          
         - UTC                                                                
         - vm time zone?                                                      
         - database time zone?                                                                               
    3) If an automatic normalization is performed, data will be modified upon insertion (or extraction) from the database. This means that we cannot quarantee if we insert and Date object retrieve it again that the two objects will be equal.
    In the discussion with Jonathan, we couldn't clarify the issue. However, Jonathan promised that the JDK should be modified in such a way that the JDK is responsible for the normalization. (So far such a change has not been done).                                                                               
    In order to be on the safe side, SAP chose that Open SQL should reject any Date values that are not normalized. This is what we have          
    implemented and documented. I agree, that in this repect, Open SQL is stricter than the JDBC standard demands.                                                                               
    To help the application with the task to normalize a Date (and Time) object, we offer the helper class                                      
    com.sap.sql.DateTimeNormalizer which you find in opensql.jar.                                                                               
    To come to a conclusion, the bevavoir you observed is from our side not a bug of Open SQL but a feature. Please use DateTimeNormalizer to normalize Date objects appropriately.                                  
    </i>
    I hope, you can follow our reasoning.
    Best regards,
    Adrian

  • Screen goes dark when trying to post.

    When i am playing a game, and i go to post something, the screen will go dark and i am unable to do anything but reload the game..would this be related to my flash player because it does not seem to happen to any of the other players..is there something i can adjust?

    To help troubleshoot we'll need the following system information:
    Operating   system  
    Browser  
    Flash   Player version
    link to the game
    If possible, please post a screenshot so we can try and understand what's going on when things go "dark".
    http://forums.adobe.com/message/4209263
    Thanks,
    Chris

  • What process goes behind "Return Requisition" in oracle purchasing

    Hi Guys,
    In Oracle Purchasing, When you click "Autocreate", where you will get the form "Find Requisitions Window".
    You will find the requisitions and then if you want to return a requisition by telling the reason for returning
    the requisition, the you will go to Tools--> and Click "Return Requisition" and specify the reason for returning
    in a text provided.
    May I know what workflow or what process goes behind when you click that Return Requisition from Tools Menu.
    Thanks

    If you are in forms, then check the special triggers 1 to 30, these would be available in the tools menu, check the corresponding code in the form library, or the custom library, if this is a custom menu item.
    Thanks
    Tapash

  • My MBP with RD's Facetime camera freezes when changing portrait to landscape during facetime calls on the display of the person who i'm calling to, but it shows alright on my side, what's going on?

    My MBP with RD's Facetime camera freezes when changing portrait to landscape during facetime calls on the display of the person who i'm calling to, but it shows alright on my side, what's going on?
    Another thing is that on Skype, whenever i clicked to sharescreen it only show a complete black out window. nothing else.
    Tried restore OSX mountain lion, doesn't work. what should i do?

    kaeandcolesmon,
    If you open the recovery drive (partition) it should only have a single folder (Recovery).
    To make sure that your not saving restore points to that drive.
    See:
    Start, Control Panel, System, System Protection tab. Make sure the D drive partition is set to OFF so that it does not save there.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • Hey Guys, I have a IMAC G5 and I just uploaded Ilife 08 to it,  the problem is, when I create a DVD it sounds good until I burn it. About 1/4 of the way through it the sound stops..  What's going on with it?   Is it the encoding proocess??  I'm stumped...

    Hey Guys, I have a IMAC G5 and I just uploaded Ilife 08 to it,  the problem is, when I create a DVD it sounds good until I burn it. About 1/4 of the way through it the sound stops..  What's going on with it?   Is it the encoding proocess??  I'm stumped... Help me out here!

    Hi
    A. iMovie'08 to 11 are not the tools of choice if one aim to do a DVD as they all discard the quality of the picture by discarding every second line in it. NO way around this due to that it happens between Event's and Project's so as soon as it is being edited - Quality is lost.
    B. I use iMovie HD6 or FinalCut
    C. if iM'08 to 11 is a must - THEN DO NOT - Share to iDVD - BUT - "Share to Media Browser" and as Large (or ev. Medium)
    THEN DO - Save as a DiskImage and see that this plays OK and ALL SOUND
    D. if added audio from iTunes - then instead in iTunes - Collect all needed Audio into a NEW PlayList then BURN this as an Audio-CD (.aiff - NOT .mp3 or other) - Then use the Files on this CD in Your Movie Project's (I do)
    E. I only use .aiff audio - 48kHz 16-bit (miniDV tape Camera) or 44.1kHz Audio CD - NEVER .mp3 or .wma or other file format - ALL is converted first into .aiff - ALWAYS ! - I have very few problem with Audio in my projects in iMovie or FinalCut !
    Yours Bengt W

  • Can you customize what folder MAIL goes to when adding attachments?

    Can you customize what folder MAIL goes to when adding attachments?
    My friend has 2 email addresses for businesses.
    He has invoices in folders for both, and wants to set up the Mac like this:
    When he writes from one email address and attaches documents - he want the Mac always to go to the corresponding folder for that company of his. Same for the other email address...
    Make sense?
    Can this be done?
    Thanks in advance....

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Ok, I have deleted EVERYTHING off my 16gb ipad. Photos, music, apps. All I have are the standard apps. It says I have used 11gb and only have 1.6 left. When I first bought it I had up to 4 movies and lots of apps, no problems. What's going on please!?

    Ok, I have deleted EVERYTHING off my 16gb ipad. Photos, music, apps. All I have are the standard apps. It says I have used 11gb and only have 1.6 left. When I first bought it I had up to 4 movies and lots of apps, no problems. What's going on please!?

    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Do you have any restrictions for purchasing apps on the phone? Settings > General > Restrictions. If you have a Mac computer or another Apple device can you purchase things in the App Store using the same Apple ID on something else?

  • Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new

    Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new tab and Command W to close it, and my other tabs are visible.
    I have tried shutting down, closing tabs, with no success.  What's going on and how can I fix it?
    Thanks,
    Cindi B
    PS:  I'm not sure of the actual OS level, but I have not allowed it to upgrade to Maverick yet; concerned about it because of a few things I've read...

    A Safari extension or third party plugin may be causing the menu bar issue.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    As for which OS X is installed.
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.
    v10.6 Snow Leopard v10.7 Lion  v10.8 Mountain Lion
    It's your choice whether or not to upgrade to Mavericks. If you decide to do this, make sure your Mac meets the requirements noted here.

Maybe you are looking for

  • How to set static IP for C4599 printer ???

    Was afraid if we clicked 'answered' <per 'answer' below> we may never get an answer to a followup question to 'PrintDoc'  at http://h30434.www3.hp.com/psg/board/message?board.id=Networking&thread.id=5277 . Hopefully this re-post will help. Question/s

  • Dreamweaver CS5 crashes when putting file to server.

    Recently I've had occational crashes when putting file to server, but it worked when I rebooted system. Now, even I reboot the system, whenever I try to put a file into the web server, it crashes. Message shows: Adobe Dreamweaver CS5 has stopped work

  • Obviously, it is Oracle's misplay

    In Oracle 11g's document Data Guard Concepts and Administration(about how to create a standby database), it mentions:"configure Listener on both side using Oracle Net Manager". But it never mentions installing the Oracle database soft first on the st

  • How do I render existing forms as HTML5?

    I have installed mobile forms. I am able to preview  as HTML in designer. The IVs works for me. But the documentation is so sparse and sketchy, that I honestly do not know what I am supposed to do to display the 300 forms that we have in a web browse

  • Computer has suddenly slowed to a crawl

    Hope you can help out there! --MacBook has suddenly slowed down. --Takes 2 minutes from login screen to seeing my desktop. --Took 2 hours to repair permissions. --Safari begins to start-up and then stalls. Have to re-start. --Can't back up--Time Mach