Some japanese character encoded to "?". Please help me..

My system is below listed.
J2SE 1.4.1
MySql Ver 11.18 Distrib 3.23.52,
Resin 2.1.4
Java application load html document encoded 'SHIFT_JIS' using HtmlURLConnection.
And read the document in 'SHIFT_JIS'.
Almost it appears properly but some of characters printed in '?'.
hm....
I will show my source code.
private String readDocument(URL url) {
String METHOD_NM = ".readDocument()";
try {
HttpURLConnection URLCon = (HttpURLConnection)url.openConnection();
BufferedReader in = new BufferedReader( new InputStreamReader(url.openStream(), "SJIS"));
String inputLine;
On my web server, input the character(printed '?') on textbox in IE6(japanese language pack). and submit. then the character translated the code(ex> #4575; )
The code inserted DB. select from DB the tuple.
and display the IE6. it's ok.
but loaded from japanese html. It's inserted to DB '?'.
and displayed '?' on IE6.
I want to translate the character to code(ex> #5455;).
OK?
Please reply...
p.s I'm sorry my poor english..

Thank you for reply.
but I've already tried that.
I have tried all japanese encoding of "Supported Encodings" from java.
http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html
I want to convert that.
ex)
?fe? => & # 4532; fe & # 3456; => original charcater is removed blank
This is convert '?' to code number.
In this case '?' is Japanese character.
Please let me know the way..

Similar Messages

  • I do not remember my password of filevault and i can not install some softwares on my mac please help me

    i do not remember my password of filevault and i can not install some softwares on my mac please help me

    Are you sure FileVault is active? You could not have started up without entering the password.
    If you are sure, see below.
    If you forget the password and FileVault is on

  • I accidently deleted my icloud a/c and lost some of my important contacts , please help me in getting them back.

    I accidently deleted my icloud a/c and lost some of my important contacts , please help me in getting them back.

    Hey ashvinee,
    Sorry to hear you're having difficulty with your contacts. We have a few articles that could resolve your issue.
    I would start here:
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/ts3998
    Recovering iCloud or MobileMe data from iTunes backups for an iOS device
    http://support.apple.com/kb/TS4108
    This second article applies to you if:
    You want to recover your Contacts, Calendars, and Bookmarks from an iTunes iOS device backup made while using iCloud or MobileMe to update your Contacts, Calendars, and Bookmarks on your iOS device.
    You have created backups in iTunes, and you do not have or are unable to restore from an iCloud Backup. Learn more about how to restore from an iCloud Backup.
    You have lost data from the web, your iOS device, and all other synchronized clients, and you have no other usable backups to recover from.
    Cheers,
    David

  • Adobe Media Encoder error, please help

    I've just recently tried to use Adobe Media Encoder for the first time and no luck. When I try to run a queue it gives me the following error message and shuts down. I have AME version 5.0.1.0 64 bit for Win 7 64 bit. I'm trying to convert a .MPG into any other format. I've tried many different configurations and it still shuts down. Please help. I want to use this thing.
    Adobe Media Encoder Debug Event
    Adobe Media Encoder has encountered an error.
    [..\..\Exporter.cpp-390]
    button - Continue
    then it shuts down

    Hi,
    Having exactly the same issue. Did you manage to resolve?
    Nell

  • I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.​Please help me for that.

    I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
    1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
    ible?
    (2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
    (3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
    (4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?

    Hi Vishal,
    I'll try to answer your questions as best I can.
    1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
    2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
    3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
    4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
    Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
    Ron

  • Some procedure can not run,Please help

    --Please Help me where is wrong
    --The Procedure can be compiler,but can not run
    --Maybe there has some wrong with Ref Cursor or dynamic SQL
    --Please,Thanks ver much
    --Follow is my full code
    Create or Replace package ref_types
    AS
    TYPE ref_cursor is REF CURSOR;
    End;
    Create or Replace package userinfo as
    procedure Get_usermenu (baduser out boolean,
    menu out ref_types.ref_cursor
    End;
    Create or Replace package body userinfo as
    procedure Get_usermenu (baduser out boolean,
    menu out ref_types.ref_cursor
    ) is
    v_sqltext varchar2(100);
    v_sql varchar2(300);
    begin
    baduser:=FALSE;
    v_sqltext:='''A001'',''A002'',''A003''';
    v_sql:='select MENUID,P_NAME from MENU_LIST
    where MENUID in (';
    v_sql:=v_sql||v_sqltext||) order by MENUID asc';
    --explain:Get v_sqktext values overpass some process
    open menu FOR v_sql;
    end;
    end;
    /

    thanks,
    error number is : Ora-01001
    I use it In Form:
    declare
    v_baduser boolean;
    v_menu ref_types.ref_cursor;
    v_menuid number;
    v_menuname varchar2(50);
    v_menucount number;
    begin
    v_menucount:=1;
    userinfo.Get_usermenu(v_baduser,v_menu);
    loop
    fetch v_menu into v_menuid,v_menuname;
    exit when v_menu%NOTFOUND;
    show_alert_info(v_menuid||';'||v_menucount||'、'||v_menuname);
    --show_alert_info,like Developer's Function "message",
    --It can show some text
    v_menucount:=v_menucount+1;
    end loop;
    Close v_menu;
    end;

  • Encoding question please help

    hello
    i have a 115 minute long project. it was 6.2 GB so i switched it over to best quality and no longer kept it in best performance.
    its been an hour but nothing has encoded! there all blank bars. i read in the help section of idvd this:
    "Note: +Background encoding is only available when you choose Best Performance as your encoder setting in the Projects pane of iDVD preferences+."
    i also went up to advance at the top option menu thing and saw how backround encoding is faded out.
    how can i encode these files? should i close the idvd application? i dont know what to do if they wont encode in the backround. please help! im on a really tight time limit! and need 50 dvds burned by tues!
    thankyou!

    If you are going to burn 50 copies you should do that from a disk image. When you save the project as a disk image it will start rendering (encoding).
    As a rough guide, rendering will take about 3x the project length, the actual burning about 50% or less of the project length.
    Let your Mac have a rest for 15 minutes after burning 3 copies. Your superdrive will thank you!

  • HT5395 I have a mac , but i have no idea what version it is.. its all white and i just got it .. i have one problem , i have no idea how to send the text messages ? it keeps telling me i need to have some aol account .so somebody please help me understand

    im just trying to find out how to send a message on the mac ...... someone please help ! thanks so much !

    HI,
    This is fairly generic (for iChat 4) although some links are out of date.
    Start at the second menu down that says "Get a Screen Name"
    http://www.ralphjohns.co.uk/versions/ichatvers4/howtos4.html
    iChat 5 is virtually no different
    iChat 6 adds the Yahoo option.
    As has been said more specific info from yourself will enable a much more detailed reponse from us.
    10:44 pm      Wednesday; July 24, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I am having some serious wireless networking issues - please help!

    I had a working wireless network setup in my home until the laptop was dropped and the hard drive needed to be replaced.  The network consists of the laptop, desktop and wireless printer.  I am now unable to get my wireless network up and running again.  Is there anybody that can walk me through this.  Right now I have the laptop hardwired to the cable modem so I am able to use the internet.
    Please help!!!!!! 

    1. Go to Wireless. Set using Manual Config.
        Mode = Mixed
        SSID = Create your own SSID
        Channel = 9
        Broadcast = Enabled
    2.Go to Wireless Security
        Security = WPA Personal
        Passphrase = Type your 8 character long password
    3. Go to Security. Disable Block/Filter WAN Request
    4. Check if you are still online wired.
    5. Connect your laptop to the wireless network
    Regards,
    Lord Maxthor

  • Just purchased iPad 2 and when I go into settings I do not have the cloud icon anywhere. Could some computer person out there please help me? I am a grandmother and I don't have a computer. THANKS !!!

    Just purchased a new ipad 2 and when I go into settings I don't have an icloud icon anywhere. Where is it? Please help me !!!

    Go into setting then click on general then click on about... verify wich version of IOS you have. If it's not IOS 5 that would explain the cloud issues. In wich case you need to plug it to Itunes to upgrade the IOS.

  • Why does Firefox disable some Japanese character sets?

    Firefox 3.5.5 on Mac. Started yesterday at a point. My Japanese character selection (Kotoeri) disables all but Romaji. The only way to get others (like Hiragana and Katakana) back is to restart Firefox. It seems visiting certain web sites may trigger it, but don't know exactly. Why is this happening?
    It started from one of these and their links:
    http://www.yamatoamerica.com/
    http://www.ocsworld.com/
    http://www.dhl.com/
    I tried to recreate the situation, but couldn't. I will report back if I find one that triggers.

    You can check for issues caused by plugins (plugins are not affected by Safe mode).
    *https://support.mozilla.org/kb/Troubleshooting+plugins
    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • HT1351 I cant get itunes to sync for some reason on my ipod, please help!

    Please Help, I cant get my music synced bc itunes wont show the sync button when I connect it to the computer.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>General>Date&Time and make sure it is set to Automatic
    - Go to Settings>wifi>the connected network and change the DNS to Google's 8.8.8.8
    - Go to Settings>iTunes and App Stores and sign out and sign back in
    iOS: Troubleshooting FaceTime and iMessage activation

  • Keep getting texts in Japanese from international friend, please help.

    Okay so I have a friend in Switzerland who sends English texts to me and somehow between him sending the and me receiving them they magically  transform into Japanese characters. Neither on of us have any idea what is going on. I mean his text were coming through as English not more then two days ago and now suddenly they are Japanese. The even weirder thing is i can send him texts and they come out just like intended: English. He swears he is not joking and i believe him because he has never been much for practical jokes. Please, we are both super confused. Any help or theories you can provide would be amazingly appreciated.
    Example:
    Me: Hey how are you today?
    Him: * insert random string of nonsensical Japanese characters here*
    Me: Oh god you do know you are texting in Japanese again right?
    Him: *inset more random Japanese here*
    The worst part about it is i have run the characters through google translate and it comes out as complete gibberish... So it isn't like what he is trying to say is being translated into Japanese it is more like his message is being....taken over by a Japanese storm of gobblygoop.

    Is he attaching a signature to his texts?  Is he formatting them in a different font or colored font (some phones are capable of sending like this, but the receiving phone can't "translate" the message so it comes through as gibberish)  Is he attaching emoticons or smilies?
    What are the two phones involved in the texting?

  • At a loss with some simple java classwork. Please help.

    Hello. I'm having a problem with some work that I wasn't able to finish in class. I am not very good at java AT ALL, and I'm really at a loss on how to finish up the program and get it to print what I want it to.
    My task is:
    "Write a program that asks for two words and then eliminates the second word from the first word.
    For example:
    forgot - go = fort
    bedevil - bed = evil
    bedevil - evil = bed
    stupid - is = Hey, is is not found in stupid."
    This is my code so far:
    public class wordSubtraction
         public static String big = "bedevil";
         public static String small = "bed";
         public static void main(String[] args)
              elimWord(String big, String small);
         public static void elimWord(String big, String small)
              if(big.indexof(small)==-1)
                   System.out.println(small + " isn't found in " + big);
              else
                   big.substring(0, indexOf(small));
                   small.substring(indexOf(small)+small.length());
                   System.out.println(small + " + " + small.substring + " = " + big);
    I keep getting this error:
    /Users/mewmew/Desktop/wordSubtraction.java:8: ')' expected
              elimWord(String big, String small);
                                    ^
    1 errorI don't understand what this error means or how to fix it, it looks like I have all the parenthesis in there to me. Deleting or adding semi-colins, parethesis, brackets, or curly brackets just seems to give me more errors.
    Any help is appreciated!

    No it's not JJEdit. The errors are a good thing -
    and each one has to be
    dealt with. When you call a String method various
    things have to be
    correct:
    (1) The name of the method - case is important.
    (2) The arguments - the things in the parentheses -
    have to be exactly
    the sort of thing that the method expects. For
    example if the method
    expects an int argument and you give it a String
    there will be problems
    (3) The methods must be called using a String
    variable and a dot. If
    you just say "substring(whatever)" that's an error.
    The compiler is
    saying "substring of what?" You have to write
    "something.substring(whatever)"
    Also - because it will be important later - both
    substring() and indexOf()
    return a value. It is up to you to do something with
    that value. Usually
    you assign it to a variable.
    Just for the record I got the follow from the String
    API doumentation here:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Stri
    ng.html
    public int indexOf(String str) Returns the index
    within this string of the
    first occurrence of the specified substring.
    public String substring(int beginIndex) Returns a new
    string that is a
    substring of this string. The substring begins with
    the character at the
    specified index and extends to the end of this
    string.
    public String substring(int beginIndex, int
    endIndex)Returns a new
    string that is a substring of this string. The
    substring begins at the
    specified beginIndex and extends to the character at
    index endIndex - 1.
    I would suggest you write elimWord() along these
    lines:public static void elimWord(String big,
    String small)
    int pos = // find the index of small in big
    if(pos == -1)
    System.out.println(small + " isn't found in "
    und in " + big);
    else
    String before = // find the bit before small
    re small in big
    String after = // find the bit after small in
    small in big
    System.out.println(big + " - " + small + " =
    ll + " = " + before + after);
    Thank you! That's very helpful and I feel that I'm THAT much more on my way to understanding what the heck I'm doing.
    I'm trying, though...
    Now I just gotta find out how to get the bits before and after small in big and solve these errors:
    /Users/audreyeckel/Desktop/wordSubtraction.java:24: '.class' expected
              int pos = big.substring(0, int indexOf(small));
                                                   ^
    /Users/audreyeckel/Desktop/wordSubtraction.java:24: ')' expected
              int pos = big.substring(0, int indexOf(small));
                                                                  ^
    2 errorsI just hope I can finish it before it gets TOO late...it's about 2:26 AM here and this is due...TODAY!

  • Encoding problem please help..

    I am using XML parser V2.0.7 for C++.
    I have a stylesheet wherein
    <xsl:template match="some japanaese char">
    When I run XSLSample , the XSLT processor thorws an error complaining LPX-314. Please reply

    You have to do two things:
    1. set the stylesheet encoding to japanease/unicode
    2. Save the file with the same encoding using xml editor that support file saving with non-ascii charset. I think xmlspy support this.
    Hadar

Maybe you are looking for

  • Installing Mavericks cause Kernel Panic and after installing too

    Hi, I worked with Mountain Lion and all was good, but I thought that would be nice to update to Mavericks. And I'm not good in Mac OS, so I didn't prepare backup before, because believed that it have to work. But during installation I got kernel pani

  • Posting to PartnerLink with No Exposed WSDL?

    I have a web service that I am posting to that hosts it directly on a url like this .... http://server:81/. There is no exposed ?WSDL address. When I put this URL with port in the location in my config file I get an error when I try to post to it. Fo

  • Windows and Mac Compatibility Possible?? Geek needed!

    Ok, if my friend has an iPod (5th Generation) reformatted for Windows, can she hook it up to my Mac and put stuff on it from there my iTunes library?? And if not, is there any possible way to do so, any type of software?? Just anyway to get around th

  • Does Anybody know how to keep the license files and Certificates in ISE-3315 During the upgrade.

    Hi, I have two ISE-3315 Appliances in production network. I need someone's help to explain, how to make the Secondary node as the primary admin note to reset-config. And then I would like to know how to keep the license files and Certificate during t

  • Audio filter for mic handling noise

    I've putting a soundtrack over an edit but there seems to be some low rumble microphone handling noise at the end of the track. I want to know which filter would be best to look for the thumping noises and reduce them as much as possible?