How can I tell what character encoding is sent from the browser?

Hi,
I am developing a servlet which supposed to be used to send and receive message
in multiple character set. However, I read from the previous postings that each
Weblogic Server can only support one input character encoding. Is that true?
And do you have any suggestions on how I can do what I want. For example, I
have a HTML form for people to post any comments (they may post in any characterset,
like ShiftJIS, Big5, Gb, etc). I need to know what character encoding they are
using before I can read that correctly in the servlet and save in the database.

From what I understand (I haven't used it yet) 6.1 supports the 2.3
servlet spec. That should have a method to set the encoding.
Otherwise, I don't think you can support multiple encodings in one
instance of WebLogic.
From what I know browsers don't give any indication at all about what
encoding they're using. I've read some chatter about the HTTP spec
being changed so it's always UTF-8, but that's a Some Day(TM) kind of
thing, so you're stuck with all the stuff out there now which doesn't do
everything in UTF-8.
Sorry for the bad news, but if it makes you feel any better I've felt
your pain. Oh, and trying to process multipart/form-data (file upload)
forms is even worse and from what I've seen the API that people talk
about on these newsgroups assumes everything is ISO-8859-1.
Emmy Lau wrote:
>
Hi,
I am developing a servlet which supposed to be used to send and receive message
in multiple character set. However, I read from the previous postings that each
Weblogic Server can only support one input character encoding. Is that true?
And do you have any suggestions on how I can do what I want. For example, I
have a HTML form for people to post any comments (they may post in any characterset,
like ShiftJIS, Big5, Gb, etc). I need to know what character encoding they are
using before I can read that correctly in the servlet and save in the database.

Similar Messages

  • How can I tell what exactly is being distributed from the SCCM server to a client

    Hi,
    If I know an IP Address of a client machine, is there a way I can see what SCCM is exactly sending to that particular machine at that moment in time?
    thanks.

    Also, there is no way to see traffic "at that moment in time".
    ConfigMgr is just not a "real-time" product.
    As Jörgen said the best you can get is to look at the client logs.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • How can i tell what email imessages is sending from

    how can i tell what email imessages is sending from???
    I have 3 different email that i can receive on Imessage but how can i tell wich one it was sent to?? and wich one i will be replying from ???

    SO if I have
    MY cell
    EMail 1
    EMail 2
    I give some one email 2 so they can message me, and if I have my cell as caller I'd what do they get a a response

  • ITunes Match: How can I tell if a matched song is from the correct album?

    Since iTunes Match uses my album art and metadata, is there a way to see the album art of the matched item from iTunes?
    I have ripped hundreds of classical music CDs through the years into iTunes, and they all have album art (not from iTunes Match).   Now that I have signed up for iTunes Match, how can I confirm that a matched item from iTunes is from the correct album? 
    I have read that the matching algorithm isn't perfect and can match to the wrong item.   I have recently upgraded the quality of all my ripped music by downloading all the matches from iTunes Match, and replacing my local CD rips (I have backups).
    So, if I ripped Beethoven's 9th by Herbert Von Karajan, is there a way to see the album art of the matched music from iTunes, so that I can confirm it didn't match the item to Beethoven's 9th by Bruno Walter?
    Does the matching algorithm use song length/duration, or is it only using wave form sampling?
    Thanks!
    Paul

    Thanks for the help Jim.
    I'm not having any troubles with artwork changing, but I wish I were, because if the artwork changed then that would allow me to detect if the correct tracks are being matched.  
    I'm worried about waveform matching with classical music because I can have 2 pianists or 2 orchestras that play the same piece so it seems that the waveforms would be very similiar.   I have many CDs of the same pieces of music but by different performers.  For example, both performers play on a piano and both play the same piece of music.  Wouldn't the waveforms be very similar?
    So that's why I'm wondering if there is some way to get the artwork of the piece being matched, so that I can see what album it is coming from.
    Do you think if I deleted my artwork and then matched, that I'd get the artwork injected into my matched music?
    Thanks again for entertaining all my questions.  Really appreciate it.
    Paul

  • HT3775 My DVD player is supposed to play avi videos, but it often doesn't telling me that the file format is not recognized.  I suspect it's because it's the wrong codec.  How can I tell what the codec is before I burn a DVD?  And how do I get a workable

    My DVD player is supposed to play avi videos, but it often doesn't telling me that the file format is not recognized.  I suspect it's because it's the wrong codec.  How can I tell what the codec is before I burn a DVD?  And how do I get a workable codec?  Thanks for uour help!
    Ken Selvidge ([email protected])

    I am not a computer savy person.  I just need to plug in and have the machine do what it should do.
    Not a problem, but that indicates you have a lot to learn.
    File extensions like mpeg, mp4., avi, wmv, etc. are just wrappers. It is like a box the audio or video content is placed inside. The audio and video content must be encoded with a codec before it is placed in the box. There are thousands of codecs. Not all are installed on your Mac. You must have the same codec installed that encoded the video in order to play it. So, while Quicktime does support mpeg wrapper, it may not have the codecs to decode the internal video.
    Some programs have lots of the codecs available to them, like VLC, Niceplayer, MPlayerX, etc.
    You can also get "plug-ins" for Quicktime that add codecs to Quicktime, like Perian. Although it is no longer being developed, Perian still works well.
    Why is it so difficult? Probably because they are always working on ways to compress the video to get better playback.

  • How can I tell what the iTunes build is before I download?

    I am having difficulty finding out what the iTunes build is for the current download from the Apple site. I am running iTunes 7.6 (29); I assume the "29" is the build for my installed version. I also assume that Software Update will ignore build changes unless the version changes.
    I do not want to download and install the current iTunes build unless it is different from my currently installled app. How can you tell what the specific version and build are from the Apple download site?
    Thanks!

    I am running iTunes on Leopard.

  • How can I tell what app makes up the "usage"?

    Under General Settings, you have the option to view usage. How can I tell what app is using that "usage"? It is not data, just time active.

    Go to the AppleStore and download BatteryDoctor.
    This will help you to see which apps take a lott of your battery level.

  • Upgraded to IO6, seems like the amount of system memory to run is higher, this causes issues with some Apps. I can't get SIRI to work because the amount of free system memory is not enough. how can I tell what is eating the system memory?

    Upgraded to IO6, seems like the amount of system memory to run is higher, this causes issues with some Apps. I can't get SIRI to work because the amount of free system memory is not enough. how can I tell what is eating the system memory?

    Upgraded to IO6, seems like the amount of system memory to run is higher, this causes issues with some Apps. I can't get SIRI to work because the amount of free system memory is not enough. how can I tell what is eating the system memory?

  • How can I tell what microprocessor my computer has

    How can I tell what microprocessor and operating system I have on my Mac? Also wheter it is 32 or 64 bit? How much RAM? I want to purchase software, but not if it won't work.

    Apple>About This Mac>More Info

  • How can you tell what pictures from iPhoto you already used in iMovie?

    how can you tell what pictures from iPhoto you already used in iMovie?

    Log into your account on a computer (iTunes>Store>View Account) and go to Purchase History

  • How can I tell what version ipad I have

    How can I tell what version ipad I have it's a 32GB  WiFi / Cellular and version number begins with MD52

    Check iPad model with the Serial Number
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • How can you tell what generation apple tv you have?

    How can you tell what generation apple tv you have?

    Apple TV 1. gen: http://www.apple.com/de/support/appletv/1st_generation/
    Apple TV 2. gen: http://www.apple.com/de/support/appletv/

  • How can you tell what type of Iphone I have from the model number or serial number from the settings menu

    how can you tell what type of Iphone I have from the model number or serial number from the settings menu?

    Type Serial Number from Settings App here https://selfsolve.apple.com/agreementWarrantyDynamic.do it will tell you the type of iPhone.

  • HEY, HOW CAN YOU TELL WHAT GEN YOUR ITOUCH IS?

    How can you tell what gen your itouch is?

    Check the link below.
    http://support.apple.com/kb/HT1353
    Stedman

  • How can I tell what version a I-tv is

    How can I tell what version a I-tv is

    Hello Joe
    You can check what generation of Apple TV or any other product you have at the link below.
    Check Your Service and Support Coverage
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

Maybe you are looking for

  • Screen locked - again, how do I fix it?

    My IPAD 3rd gen screen locked again today - I had the same issue a couple of days ago and got it fixed with help of tech support.....had to do full wipe and reset using variety of actions - with help of phone support... so, before I report this issue

  • Formatted Search inside a Price List

    Hi, Is it possible to put a formatted search inside a Price List which will auto-update? I created a query which looks at Special Prices tables OSPP and put an FMS in Price List 10. However, this FMS does not auto-update - it only updates when I clic

  • Mount a database on 2 servers

    Hello, I need to know if the below scenario is applicable. I installed Oracle Software on 2 servers. I created an Oracle database on Server A where all the it is data (redo logs, control file, spfile ....) is under /Oracle/oradata. My question if I c

  • No sound in flash....(firefox)

    it seems I have no sound with flash. though flash does work and so does my sound (I tested it with the front and center thing) I think I know what the issue is however. See the sound card I use is my pci card but by default the pc uses my integraded

  • IPhone appeared to not be charging, then shut off and won't come back on.

    Please, anyone??? I had my phone plugged into the car charger that came with my phone. Suddenly the phone appeared to not be charging. It finally went dead. Even though now it has been plugged up to the house USB cable for over 3 hours it doesn't mak