How to slove the character-converting problem?

I'm developing a Japanese Application.
In jsp , i get the string "6-2-3" which is all input by Japanese. But after i sent it to JavaBean as a parameter,it turned out to be "6?2?3". I 'm really confused by it.
By the way , how to get a character's unicode in java?

the primitive type char is used to store unicode values (\u0000 to \uFFFF, so 0 to 65335). java.lang.String are composed of char and so are unicode aware too. To get chars from your string you have 2 possibilities:
- String.toCharArray()
- String.getChar(int)
About having a japanese user input of "6-2-3" and getting in your bean "6?2?3", that's definitely an encoding problem. The user input field does not use the ame encoding as your javaBean, so that's why one generate char that are not well understood by your bean. I'm sorry, I only know the problem, but not the solution.

Similar Messages

  • How to change the Character Set from AL32UTF8 to WE8DEC

    Hello!!
    I want to know how to change the character set in the database from AL32UTF8 to WE8DEC.
    I tried to use the comand ALTER DATABASE CHARACTER SET but I got an error because WE8DEC is not a superset of AL32UTF8.
    I need to import tables from a server that uses WE8DEC. So when I do the import to my server, wich has AL32UTF8 , I can't import the rows that include an Ñ.
    So I want to change the caracter set to WE8DEC. How can I do it?
    Is it needed to change the language configuration? The remote server has AMERICAN_AMERICA, and my server has MEXICAN SPANISH_MEXICO (both uses text in spanish).
    Thanks a lot!!

    When you export from WE8DEC server what did you use
    for NLS_LANG char set? And when importing?
    The export was done in another computer because I can't do the export in the server (I have 10g, and the remote server has 9i and the export is not working). In my server, when I tried to do the import, the NS_LANG value was MEXICAN SPANISH_MEXICO.WE8MSWIN1252.
    When I try to import to my database I got the error:
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing USRMCR06's objects into PRIMARIZACION
    . . importing table "CHG_FONDOS_MARZO_CD_MOR"
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "PRIMARIZACION"."CHG_FONDOS_MARZO_CD_MOR".
    "NOMBRE" (actual: 41, maximum: 40)
    Column 1 16623436
    Column 2
    Column 3 Pymes_1
    Column 4

  • How to set the character set to default

    Hi All,
    How to set the character set default to Simplified Chinese(GB2312), current we need change it every time.
    Thanks in advance.

    Hello Michael,
    when we log in SAP in ZH language the character set is getting defaulted to Simplified Chinese(GB2312). But currently the log in Language is in EN and hence the character set to be defaulted to Simplified Chinese(GB2312).
    Also please let me know where is the option for GUI setting?
    Thanks Again in Advance.

  • How to replace the '&' character with '&' in xi

    Hi,
    i need to replace the '&' character with ' &'.but i f i am converting it is displaying as '&' because internally '&' = '&'.
    beacuse of this it is not converting.
    is there any possiblity to change the  standard conversion in xi.

    Graphical mapping does not support special character like & , <,> to be mapped.
    You can encode & as and in UTF-8 only.
    if you want the special character to be used, Opt XSLT mapping with ISO-8859-1 encoding
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="ISO-8859-1"/>
    <xsl:template match="/">
    <xsl:copy-of select="*" />
    </xsl:template>
    </xsl:stylesheet>
    How to Work with Character Encodings in Process Integration (NW7.0)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • How to define the character set of an outbound EDI batch in BizTalk 2010?

    I have some EDIFACT files with a character set of UNOC though lowercase strings and umlaute should be allowed. These files should be batched in an outbound EDIFACT file. But the batching orchestration of the related send port throws some validation errors.
    If I convert the strings to uppercase characters everything's working fine. So it seems that the outbound batching orchestration uses the UNOA character set internally for the validation of the EDIFACT files...
    How can I change the character set of the outbound batching orchestration in BizTalk 2010? No settings found regarding the character set of outbound batching orchestration in the party and agreement configuration so far. Thank you

    Hi Philipp,
    To define a character set in EDIFACT,
    UNA segment is used. After defining see, How Validation of an EDI Interchange Is Configured and Outbound
    EDI batching in BizTalk Server 
    Maheshkumar S Tiwari|User
    Page | http://tech-findings.blogspot.com/

  • Character Converting Problem at File Adapter

    I am having a character conversion problem bringing in a XML file into XI.
    It is converting the data wrong.
    I have a file adapter picking up Audit.xml encoding is utf-8, use binary mode to pick it up.
    XI takes the file and converts it into a text file.
    I compared the hex of Audit.xml source file and the Audit.txt file and the characters are different for a specific few.
    See attached image for details
    Please let me know if any additional information will help
    http://i9.photobucket.com/albums/a68/tkc204/SAP%20XI/Audit.png

    Actually for this case Christian is right the source xml that I am receiving wasn't valid UTF-8. The program generating the xml was just putting the encoding - utf-8 tag on top because that's what the code told it to do.
    The actual data is Windows-1252 in xml. So when XI reads it, it uses the utf-8 tag on top and is expecting UTF-8, but it was getting something else causing the unsupported characters to get converted.
    The HEX was different on the Source XML comparing it to what XI was generating after File Adapter.
    After making the output change to Windows 1252. It changes back to the expect HEX.
    Source - is at Windows 1252
    XI - it will use UTF-8 (no way to change it)
    Target - forced to create in Windows 1252
    Other helpful tools I used: W3C Validator - upload the file and found that I wasn't receiving UTF-8
    I hope this is clear and helps someone else in the future.
    Thanks For everyone's input.
    Chirag

  • How to let the character in my flash game make a jump using AS3?

    i want to make the character in my flash game make a jump when the player presses a key,e.g. 'space',even the player release the key instantly,the character will still finish the complete jump process.Hope somebody will give me some advice, Thank you so much!!!

    what's the problem?

  • How to get the character set which i want it to be?

    i confront a problem, when using jdbc to connect to oracle8i database on solaris; because i use getBinaryStream() to read from db in "byte" reading, seemly it would use default character set on OS or database(such as EUC,etc.), not which the client i want it to be. is there anyway to take control of such code writing(i mean to change the character set when i get byte out of database, thus the byte would use NLS_LANG the same as using sqlplus setting in user env)?

    First of all read Note 581312 - Oracle database: licensing restrictions:
    As of point 3, it follows that direct access to the Oracle database is only allowed for tools from the areas of system administration and monitoring. If other software is used, the following actions, among other things, are therefore forbidden at database level:
    Creating database users
    Create database objects
    Querying/changing/creating data in the database
    Using ODBC or other SAP external access methods
    Are you trying this on the database server itself? If yes, then you need to install the hebrew codepages as well as hebrew fonts in order to display the data correctly.
    Markus

  • How to get the PDF Convert button to show on Internet Explorer 9

    Using Internet Explorer 9 and Adobe Acrobat 9 and the PDF convert button does not show up.  How do I fix this?

    Hi R Voorheis
    Please refer to How to install Adobe PDF toolbar in Internet Explorer and https://helpx.adobe.com/acrobat/kb/convert-current-web-page-pdf.html

  • How to change the character set?

    Platform is win2000 and oracle 8.17. I need to write data in Bulragian. Automatic character converter in oracle didn't work! Database is created already!
    Is there any function in pl/sql or Java that can convert character set in cl8mswin1251? When I read the data from database there are only ?????
    Thank you in advance!

    I'm not sure what you're asking here. "Will it be ok" for what?
    Assuming
    - you read the chapter I linked to,
    - ran the character set scanner,
    - the character set scanner indicated that all your existing data is properly encoded ISO 8859-1
    - the character set scanner indicated that all the ISO 8859-1 data could be converted to Windows-1252
    - all the national character set data was properly encoded in whatever national character set the database had
    - you did the export properly
    - you did the import properly
    - your client NLS_LANG settings are all correct
    then sure, everything should be OK.
    If you skipped one of these steps, I would again strongly encourage you to read the chapter I linked to originally as well as the Metalink article others have pointed you to.
    Justin

  • How to change the character set of the D/b

    Hello All,
    When i issue the command
    ALTER DATABASE CHARACTER SET UTF8
    It gives me the error that I can only change the character set to a superset of the existing character set.
    Is there any way i can change the character set without recreating the database.
    TIA
    Naveen

    The existing character set is the basis for the new character set. This is fair enough, because the character set determines how the actual data is stored in the database. Allowing new characters is a minor change: completely re-encoding your entire database is not.
    I'm afraid export, recreate and import is your only option.
    Cheers, APC

  • How to solve the wifi dropping problem on Att UVerse.

    Today with aid from others on the forums and help from apple I figured out how to stop the problem where your iPad will drop wifi while your using it.
    Wat was wrong before:
    While surfing the web my wifi would disconnect, and I would have to go to settings>wifi and turn It off and then back on, this would happen every two to three minutes.
    YouTube videos would load very fast and about half way would stop and need to buffer.
    When streaming pandora, it would only be be able to play one song, before needing to restart the Internet.
    My router:
    I have a homeportal 3000 router through AT&T
    http://www.convergedigest.com/images/articles/v12n140-2wire.jpg
    First you will need to know your account password for Uverse.
    On the side of the router it will tell you system password, key, and Mac ID, at the top it will say for more info visit and there will be a number separated by some periods.
    Go to that link, (on either your iPad or any computer)
    When you get there you should see the name of your router and how it's performing.
    At the top there will be four tabs, click on settings.
    Six more tabs will pop up below the two tabs, click LAN.
    Below the six tabs, another six tabs will appear, click wireless.
    Scroll down and find security.
    Under authentication type, change it to "WPA2-PSK (AES)"
    Scroll down to the bottom and click save, it should then ask you for your password. NOTE: this is your uverse password, not the password on your router.
    There should be a green box that says you were successful.
    I've been going five hours now and havn't had one disconnect.
    Thanks and hope this helps.

    Thanks, this has been driving me crazy on both my MacBook and iPhone. It was dropping my wifi every few seconds! Changed the Authentication Type to WPA2-PSK (AES) and wow! It's been at least 2 entire minutes without dropping!

  • HT1212 How to solve the forgotten passcode problem

    If I never connect my iPhone5 to iTunes, didnt turn on the iCloud, and did not backup my phone before, how can i solve the forgotten passcode problem without erasing the data?

    Read the article that brought you here
    http://support.apple.com/kb/ht1212 
    There is nothing you can do other than that and you will lose your data if you have never backed up

  • How to fix the "MIME types" problem  !

    Hello !
    How to fix the problem of "MIME types", Windows doesn't want to keep the APPS by default !!!
    When I try the application by default (for ex. right clic on .PSD files and "open with"), then I validates the selection program (Photoshop.exe), it does not appear in the selection of programs by default in windows!
    Result, even dynamic objects no longer open in my applications and all adobe files icon don't appear in explorer
    Thx

    I find a solution who works for me (Win7 64bit) !
    Use a Registry cleaner (ccleaner) and kill old file format entry !
    Now restart association with a .AI file, because the way to .exe is in another place like other apps !
    Try this:
    First, right click on your illustrator apps icon (desktop or Start menu) and choose "open the file location" and copy the dir ("C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows" for me )
    Right clic on your .AI file and select "Open with", now click on "browse" to "C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows" for 64bit system.
    "Windows" say "you've got problem with registry file association" the correction's automaticatly and the illustrator icon appear in the list of default apps.
    Select and valid him
    Now, do the same for all your "unknown files type" with the good apps !

  • How many with the wifi (greyed) problem

    Hallo users,
    Since I have updated my iphone 3g 16 Gb to the ios 4.2.1 I experienced the well known problem of the WiFi button greyed out
    http://support.apple.com/kb/ts1559
    In details after (almost two weeks) I have updated the operating system i cannot find any longer the WiFi networks around me and then the grey message no Wifi networks appeared in the settings folder. The Wifi address is no longer present (N/A is the field indication) and the battery duration decreases faster than before this problem occurred.
    I have tried all of the suggested solutions:
    - Reset the network settings
    - Reset the device
    - Restore the software
    - Restore as a new phone
    - Restore froma back up
    - Recovery mode then restore
    - Downgrade to the IOS 3.1.3
    Then i called the Apple Store clsed to my place and the "supervisor" fixed me an appoinment in the Genius Bar where I had to check with the employee if the problem was software-based or hardware-based.
    In the Genius bar, the Genius Employee just discussed with me about the several problem an iphone can have without checking at all the device with some diagnostic device as I expected. He just sentenced: "It is an hardware problem".
    Since the warranty is expired I was asked to pay 150 euro for a new (refurbished) device 90 days warrantied, same type, same model.
    My questione were: How long will last the device that you are proposing? Do you expect I pay once more 150 euro after 90 days if this problem occurr once more?
    No answer.
    I left the Genius bar and the Genius without paying anything and with my decive.
    Now I'm asking myself and you:
    - Since this problem is well known by Apple, why there is no adeguate support?
    - This problem is caused by the IOS change. Why should I pay for a fault of the IOS developers?
    -  I was told: You have been unlucky. Sorry..
    HOW MANY UNLUCKY PEOPLE EXPERIENCED THE SAME PROBLEMS WITH IPHONE 3G, 3GS,4, 4S, IPAD?
    APPLE CANNOT IGNORE US!!

    Thanks, this has been driving me crazy on both my MacBook and iPhone. It was dropping my wifi every few seconds! Changed the Authentication Type to WPA2-PSK (AES) and wow! It's been at least 2 entire minutes without dropping!

Maybe you are looking for

  • FM: PROCESS_HU_INBOUND_DLVRY - wrong length of input parameters

    Hello, I am trying to pack materials into Handling Units in inbound delivery. Therefore i am using the Function Module PROCESS_HU_INBOUND_DLVRY, but it doesnu2019t work like it should. After some further investigation and debugging of the function mo

  • JNDI replication problems in WebLogic cluster.

    I need to implement a replicable property in the cluster: each server could update it and new value should be available for all cluster. I tried to bind this property to JNDI and got several problems: 1) On each rebinding I got error messages: <Nov 1

  • SRM Monitor Shopping Cart..?

    Hello Forum, Which role in the standard gives the access to Transaction Monitor Shopping Cart This should be used in portal I am using SRM 5.0 Arshad

  • Maximum DVD size?

    Just learning with this product so please bear with me. This was just an experiment not with production media so no worries if it baulks! Anyway - I was tying to see if DVD Studio would compress 4 hrs of video onto one SL-DVD. The projected was creat

  • BPEL or OSB consume external webservices

    Hello all , After I look over documentation and - Getting Started With Oracle SOA Suite 11g R1: A Hands-On Tutorial: Fast-Track Your SOA Adoption: Build a Service-Oriented Composite Application in Just Hours - still is not clear how can I consume a w