Chinese language

Hello! I have a little problem with Chinese language support in my project. I tried to set Chinese text on button using setText() function. As a result I had only bars instead of text. Also I tried to show that text in JOptionPane - it worked correctly! This is my code:
JOptionPane.showMessageDialog(null, "Setting button text! "+m_pProps.getButtonSelectAllText());//correct symbols
m_pButtonSelectAll.setText(m_pProps.getButtonSelectAllText());//bars

If you type Big character in the resource file, you need to code like this
import java.util.Properties;
import java.io.*;
public class ReadProp {
     public static void main(String args[]){
     Properties p = new Properties();
     InputStream inStrm = null;
    String s2  = null;
     try{
          //inStrm = ClassLoader.getSystemResourceAsStream(new File("Extraction.properties"));
          p.load(new FileInputStream("c:\\Extraction.properties"));
          //System.out.println(p.get("prop"));
          s2 = new String( ((String)p.get("prop")).getBytes("latin1"), "Big5" );
          System.out.println(s2);
     catch(Exception e){
     System.out.println("Exception");
}

Similar Messages

  • Window 8.1 Chinese character cannot display properly in a game even though I have downloaded and install all chinese language packs

    Hi,
    The operation system for my computer is Window 8.1. I am currently trying to install a chinese game. Even though I have downloaded and install all the chinese language pack, I have even set the regional language locale to chinese (similified / traditional),
    the chinese characters will not display properly in the game. Some people told me i need to set the locale to Chinese PRC, but I am not sure where to download this PRC language pack for window 8.1 (as I only have chinese simplified and chinese traditional).
    I would greatly appreciate if someone can give me a hand in solving this problem. Thank you for your help in advance. 

    Hi,
    The operation system for my computer is Window 8.1. I am currently trying to install a chinese game. Even though I have downloaded and install all the chinese language pack, I have even set the regional language locale to chinese (similified / traditional),
    the chinese characters will not display properly in the game. Some people told me i need to set the locale to Chinese PRC, but I am not sure where to download this PRC language pack for window 8.1 (as I only have chinese simplified and chinese traditional).
    I would greatly appreciate if someone can give me a hand in solving this problem. Thank you for your help in advance. 
    Hi,
    Please open Region, under administrative -> Language for non-Unicode programs: choose Chinese.
    Kate Li
    TechNet Community Support

  • Material descriptions in chinese language is not transferred to SRM

    Hi All,
    We have an issue in transfering material description in chinese language from ECC to SRM.
    We are on SRM 5.5 and ECC 6.0
    I've set filter in R3AC1 with Table name "matk" anf field "SPRAS" to take care of language.
    This works fine for all language except chinese both for initial and delta down load.
    Any help is greatly appreciated

    Hi, 
    Which your support package? 
    Did you already seek OSS? 
    Rgs, 
    Pedro Marques

  • Output of Sapscript in Chinese language

    I have a Purchase order in english and now i want its output in chinese.
    I want the output of my script in chinese language.
    I have tried logging in chinese language but the output comes in German.
    I have also tried through se63.
    An output type is attached to the script(zneu) . I have changed its language(i.e. output type )  to chinese   ( ZH) but yet i am not able to see its output as desired.
    Please help me in this query as early as possible.

    It is quite simple, now change all your text to standard text..
    Now display the text in your form using standard text. Maintain standard text in both english and chinese.
    Ex.
    If COMPANY CODE EQ <CHINA>
    Pick standart text LANGUAGE<b> 'ZF/ZH'</b>
    ELSE
    Pick standard text LANGUAGE <b>'EN'.</b>
    I hope you will be successful with solution.
    Reward points if useful.
    Regards,
    Sairam

  • I have Adobe Acrobat 5.0 installed in my PC (Windows XP) in Chinese Language. I want to change the language to English. I tried re installation but its still coming in English. Please Advise.

    I have Adobe Acrobat 5.0 installed in my PC (Windows XP) in Chinese Language. I want to change the language to English. I tried re installation but its still coming in English. Please Advise.

    Hey,
    You can go under 'Control Panel > Programs' and click Change for Acrobat 5.0
    From the Custom Setup dialog box that opens, select Languages and choose English as the desired language for the software.
    Hope this helps you.
    Regards,
    Anubha

  • URGENT help please. Problem creating Chinese language text field in Adobe LiveCycle.

    A client requested to create an employee details form in which few text fields has to be in Chinese language. I selected "Arial Unicode MS" for that fields. In final PDF I am able to insert text in Chinese text fields in Acrobat. But I cant insert text when i opened the final PDF in Adobe Reader. (only these Arial Unicode MS fields are disabled). All other fields (English) are in Arial font., they are working in both (Acrobat and Reader). As these forms will be distributed to people who may don't have Acrobat and only the Free Adobe Reader. Can someone please advice me how to solve this problem.
    Thank you
    - Amal

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • Missing Text when logged in chinese language

    Dear Experts,
    I have created a smartform to print barcode which will be triggered through a custom program.Everything is fine when logged in EN but when logged in chinese language one of the window text/information is missing in the layout.All the attributes/parameters of this window are normal and same like other windows.
    I debugged the smartform to see the language parameters being passed in the run time for this window and found everything is quite same with other windows but I really can't figure it out why this particular window text is missing.
    The text/info. printed through this window is a value that comes from the print program.
    I also tried the option translate into other language in the attributes but not really useful.
    Any help is greatly appreciated <offer removed by moderator>.
    Regards.
    Edited by: Thomas Zloch on Feb 23, 2012

    Hi,
    I am not sure , but if output and Font have no problem, then this can also be due to output device type used for smartform /  PDF printing.
    Check if output device type is different in EN and ZH in table TSFDEVTY.
    Regards,
    Ramya

  • Problem when displaying smartform in chinese language

    Hi ,
    I have copied a standard smart form into Z smartform and added few fields in it  as per the requirement .
    When I display form in english or german it prints correctly .
    when I print it in Chinese it prints the workarea name which I am using to print the values of the fileds .
    it prints as below
    &wa_vbak-budat&
    please help , I tried changing the font type and size but it still shows the same.
    Regards,
    Gayatri Hemnur

    Hi Gouri,
    The first step for translation is that u have to change the regional settings in your computer. Or You should logon with Chinese language.
    If you have done that already, i think the problem may be that in the reoport the length of the field is smaller than the space required for the chinese characters.
    Even if it is done i think you can try doing this, go to se63 translate the field once again and save it. I think this should solve your problem.
    BR
    Dep

  • Need to know how to check text accuracy for CN language PDF's? I knew for EN and EU language, similarly i would like to know for Chinese language books in PDF compare process.

    Hi.
    This is for Ebook conversion purpose, Currently am doing the text accuracy for English(EN) and Latin(EU) books using Acrobat 11 Pro application with Source and Converted PDF(final output of epub/mobi).
    Similarly am trying to find the text accuracy for Chinese language books using PDF compare process, When i attempt, could see the compare report in PDF format for CN books, but i cannot catch the any text errors in it. Please advise and help me out whether i need to go for different version of acrobat or do i need to add any plug-ins with respect to language or chinese fonts here.

    Could any one please advise me on my question, so that it will be helpful to purchase the correct application before i go forward.

  • TS1424 My iTunes and App store are opening in chinese language but I want to convert it into English... How to do that???

    My iTunes and App store are opening in chinese language but I want to convert it into English... How to do that???

    As far as I know the language of the two stores on the iPad (iTunes and the App Store) can't be changed - they should be in the language of the country where your account is based (if they aren't correct then try logging out of your account by tapping on your id in Settings > Store and then log back in).

  • I just got a nano 7th generation but came in  chinese language and don't understand

    Hi
    I new at this, I just got the nano 7th generation. Took it out of the package and discover that is in chinese language and don't understand and don't know which one of the setting in the one for changing the language.
    Can anyone help one
    Annie

    Hey there amontalvo,
    It sounds like your default language needs to be changed on your iPod Nano 7th gen. These instructions should help you get that reset, from the following article:
    iPod: Changing the display language
    http://support.apple.com/kb/HT1824
    Reset your iPod—Depending on how much you've used your iPod since selecting the language, simply resetting your iPod may cause it to forget the current language setting, enabling you to select a new one. See How to reset iPod for instructions.
    Note: When you reset your iPod, all your music and data files are saved, though you may need to reset some customized settings.
    Update your iPod software—If you haven't updated your iPod software recently, use the latest version of iTunes and update the iPod software.
    Go to the main menu—Disconnect your iPod from your computer, then press the Menu button until the menu title says "iPod," regardless of the language displayed. This means you are at the main menu.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Out put logistic invoice verification (print out need in chinese language)

    Hi All
    In MR90 out put logistic invoice verification I am getting output (Printout) in English the requirement is chinese language has to add in output.I know however I need to take help of abaper.I want to know what r the configuration steps to fill this requirement.can any one help me regarding this. Points will be added..
    Thanks
    Srini

    Hello
    Check this link and coordinate with ABAper.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/27d457f17b11d287d0080009b98822/frameset.htm
    Reg
    *assign points if useful

  • NW04s WAS 7.0 displays some texts in chinese language

    I have installed NW04s ABAP instance (WAS 7.0)with all the default settings. When I logged in to the SAP system, I noticed that all the text messages are being shown in some Chinese language. Later I realized that, not only this screen but also all the screens have the same problems.Has anyone seen this kind of weird problem? Do you have any idea what is causing this? Any help in this regard will highly be appreciated.
    Thanks
    Rajan S

    Are you saying that different language pack is installed in this system?. I checked through SMLT and noticed only two language support packages of GERMAN and ENGLISH are imported.Also verifed through I18N , the system has  ENGLISH and GERMAN only. This is the default install and I have not installed any other language at all
    Thanks for you help.

  • Convert Spool Request in chinese Language to PDF

    kindly help me to solve the issues.
    is there any way to convert the spool request which is in chinese langauge,
    Requirement is to download SAP Script to PDF, where the PDF file should be in Chinese format.
    i used the following FM
    1)CONVERT_OTFSPOOLJOB_2_PDF
    2)CONVERT_ABAPSPOOLJOB_2_PDF
    in the spool the chinese format is visible, but in the PDF instead of the chinese language, v r getting Junk values.
    Thanks in Advance.
    Kesav

    Hi,
    Try executing the Program: 'RSTXPDFT4'.
    This Program will generate a PDF file when spool request is given in the selection screen.
    Regards,
    Ravi Kiran..

  • Account to display in Chinese language for Report writer report

    Hi All,
    I am working on Report Write Report.
    I need to display the description of G/L Account in chinese language.
    That particular Accout's description in FS00 for Short text and Long text has already maintained in chinese Language.
    In my Report I am using the Layout ZCORP1.
    What I am trying to doing is
    1)  I am changing the Layout using GR12 . Here in tab Language-Dependent,
    I am trying to change Language Key to ZH (chinese) from EN ( English),
    but not able to do.
    2) In GR22, to change Library (which I have used for my Report), I am
    trying to change Original language to chinese, but not able to do.
    3) In GR32 to change the Report, I am trying to change the
    Maintenance Language to Chinese, but not able to do.
    Ok.. my main motive for all above is to see the output for G/L Account in chinese
    Is my approach is right or what shall I do.
    Please guide soon. It is urgent.
    Rishi

    HI,
    In the Third Button of Save Layout.Check the USer Specific settings of the Report Layout and save the Varaint.This will help.
    Bala.M

  • Error in Chinese language translation In Forms....

    We have our application based on Oracle and d2k.
    Standard language is English. Thus all the labels and data in the Form and in the Tables are in english language. Now we wish to generate one of the forms in chinese language which will change the labels in the form to chinese letters.
    Approach we followed:
    All the corresponding english lables in The Form Screen are generated in the Chinese language in the excel file. We have imported the .csv file with corrsponding lables in our schema. and the data is populated in the tables.
    Problem encountered:
    All the data in the tables is shown as junk values. ie, ???????
    NLS_LANG has been set in the registry as
    "TRADITIONAL Chinese_Hong Kong.UTF8".
    I have this feeling that i am setting the wrong lang setting.
    let me know if this is correct and what else can i check so that i can junk characters paves ways to chinese characters.
    When i try to insert in the tables thro SQL.... it does not allow and the char are still ?????????????????????
    Kindly suggest.

    When i have done the changes as suggested by u, i am not able to launch SQL...
    message is:
    ORA-12705: invalid or Unknown NLS parameter value specified.
    When i open google site.. the screens are in chinese .. this shows system has accepted the chinese character set.
    My previous settings allowed me to connect to SQL but the data was junk characters like ???????????????

Maybe you are looking for

  • All day events  - synching ical with Symbian S60

    I guess this must have come up before..... I cannot find a way of synching all-day events on iCal with my E90. iSync will not sync iCal all-day events across to the E90, just seems to ignore them. I thought I'd be clever and enter all-days as memos o

  • SSRS Parameters help!

    Dear All, sorry my last post was not written properly. I need some urgent help creating a report on SSRS (Microsoft Visual Studio 2008) I am currently using certain parameters to get a specific data list. Only after this list has been created I want

  • IWeb Blog how to control how many articles go into archive?

    I'm probably just missing something, but after I add about five articles to my blog page, the older ones go into the archive. Is there a way to not do that, or at least have some control over how many go there? Also, is there some way to make a chang

  • Transfer of added tax

    When i execut the transaction <b>S_alr_87012360</b> i have a table in the down with documents wich tax is not transferred, and i have these error codes : 2.The document contains items whose posting key is marked as payment 6.Tax account was posted to

  • May have a virus...help please

    So I pay WoW and pretty much like 5 minutes ago i was hacked...i remember accidently going to a weird website and a pop up came up and i knew it wasnt good so i backed out...anyways, im fairly new to macs and i heard that macs rarely if ever get a a