TextArea uses Chinese characters

Please excuse me if the special characters appear as ?s.
I have an application that has a TextArea component (AWT), but whenever I enter a special character using ALT+number on numeric keypad to enter a special character, it puts in Chinese characters! For example, I would usually use ALT+0225 for � and ALT+0233 for �, but I get a different Chinese character or some box character. It's different each time I type a ASCII keycode. I tried using the frame's setLocale(Locale.getDefault()) method and the TextArea's setLocale(Locale.getDefault()) method, and only the first special character I enter when the program runs appears as a normal ASCII character. I never have this problem in my dialog boxes.
Someone please help me make a TextArea that uses ASCII special characters.

There aren't any "ASCII special characters". What you are probably thinking of is one of those character sets that claim to be "extended ASCII", of which there are many.
Java uses Unicode, a very extensive character set which contains ASCII as its first 127 positions. You can read about it here:
http://www.unicode.org/
In particular, have a look at the code charts section to find the "special characters" you are interested in entering. Then download the Character Agent program from here:
http://www.bjondi.com/products/char_agent.db
I assume you are a Windows user? This program is a better, Unicode, version of the little Character Map utility that comes with Windows.
Finally, you'll need to make sure your TextArea is using a font that can render those characters you want to use.

Similar Messages

  • Report Generation Toolkit using Chinese Characters

    I am trying to use the Report Generation Toolkit for Microsoft Office under LabVIEW 8.0.  I would like to use Chinese characters for the headings of the columns using a 2D array of the headings and the Excel Easy Table.  When I generate the report, the text of the headings appears to be jumbled and not encoding correctly.
    For example:
    仪器编号 becomes êNhV÷S
    采前初重(g) becomes Ç‘MRRÍ‘ÿg
    Any insights here? Thanks

    Hi,
    what you describe reminded me of a bug fix in the Report Generation Toolkit 2012 :
    339092
    Using the "Append Table to Report" VI to add strings of Cyrillic font to a table in an MS Word report results in gibberish being added to the report.
    http://digital.ni.com/public.nsf/allkb/09D6DE5170B3C0BD86257A2B004CFD20
    I know that Cyrillic and Chinese characters are different but they are often confronted to the same problems...
    Aurelie

  • Using chinese characters in struts-config.xml

    Hi
    i am developing an application in Chinese language where i need to create all the urls in the Chinese language. i am using struts 1.3.5.can anyone tell me is it possible to use Chinese characters in struts-config.xml action mappings? i tried but it is not working. is there ant way really?
    Regards,
    A.

    Don't know about struts specifically, but for Chinese URLs to work you would need to convert to punycode at some point, to comply with IDNA: http://en.wikipedia.org/wiki/Punycode
    Are you doing that?

  • Using chinese characters/font in titles

    I am trying to use Chinese characters for subtitles in my video and a few of the characters turn into boxes?  I am a Mac user and have the proper Chinese keyboard selected.... which works fine in Word.  Please help!!!  I think there is something to do with the available fonts in premiere pro, something about the font being unicode vs. non-unicode.

    Try creating these in Photoshop, then import the PSDs into PP.

  • Using Chinese characters mixed with English ??

    I volunteered to help a local charity with their program in
    China.
    They donate school books and funds to keep Chinese kids in
    school. Seems
    free school stops at age 15 in China.
    My problem is a page of mostly English text with a few
    Chinese
    characters. The page looks and prints perfectly. Yet when I
    save the
    page in DW8 and preview it in a browser the Chinese
    characters become ?
    marks. How do I publish a page of mixed text?
    Sorry I just accepted this job and as of now it is published
    with
    FP and that has to change. www.blessing-hands.org. I am
    attempting to
    cut and past the text from the existing site and build the
    site using DW
    and yes I know the pictures need to be compressed. Working on
    it..
    Thanks for any advise
    Joe Mackey

    OK, I am making progress solving this problem. The page
    complains that the
    encoding is not correct for some of the characters. So I go
    to preferences
    >Fonts and select Unicode 4.0 UTF-8 and select OK. But
    when I go back to
    preferences to verify, the encoding has returned to Western.
    Why is all free
    work so complicated?
    On 12/28/06 9:42 AM, in article
    en0l4g$gnh$[email protected], "Joe
    Mackey" <[email protected]> wrote:
    > I volunteered to help a local charity with their program
    in China.
    > They donate school books and funds to keep Chinese kids
    in school. Seems
    > free school stops at age 15 in China.
    > My problem is a page of mostly English text with a few
    Chinese
    > characters. The page looks and prints perfectly. Yet
    when I save the
    > page in DW8 and preview it in a browser the Chinese
    characters become ?
    > marks. How do I publish a page of mixed text?
    > Sorry I just accepted this job and as of now it is
    published with
    > FP and that has to change. www.blessing-hands.org. I am
    attempting to
    > cut and past the text from the existing site and build
    the site using DW
    > and yes I know the pictures need to be compressed.
    Working on it..
    >
    > Thanks for any advise
    >
    >
    > Joe Mackey

  • Using Chinese Characters?

    Good afternoon -
    I would like to use the Chinese characters found on the Mac with Illustrator, but when I type them in they just come up as regular Roman characters. How do I get the program to use the actual Chinese Glyphs?
    Thanks!

    I find the character panel easier I also think there should be a way of setting all of this up directly from Adobe applications

  • How can I install Firefox so that toolbars are in English? I live in China and am automatically given a version using Chinese characters

    Cannot seem to get out of this loop of being forced to use Chinese which I do not read that well.

    ''SingingWolf23 [[#question-1045728|said]]''
    <blockquote>
    Cannot seem to get out of this loop of being forced to use Chinese which I do not read that well.
    </blockquote>
    Thanks so much. Somehow I could not figure out how to get this myself, but very happy for your assistance.

  • How to generate emails using Chinese Characters with the Iphone 4s?

    Hi,
    I just got my Apple IPhone for the first time. Anyone knows how to compose an email in Chinese
    using the IPhone? -Arthur

    ChrisJ4203 wrote:
    You will need to download the Chinese keyboard.
    You can't download keyboards for an iPhone.  You have to use the ones already present, which include a number for Chinese, as listed in the tech specs.
    http://www.apple.com/iphone/specs.html

  • Webapp authentication failed when using chinese characters as login name

    Hello,
    I have tried webapp authentication on tomcat and oc4j, via BASIC and FORM auth-method. All failed when the login name contains non-English characters. It seems an encoding issue, therefore, I also tried to change the page encoding of the login form to utf-8. None of the above is successful. Is there any solution? I really appreciate any help!
    Thanks in advance!!

    Enterprise support:
    Call enterprise support  (866) 752-7753  to create  a case ID number
    Get an account at
    http://developer.apple.com/  then submit a bug report to http://bugreporter.apple.com/
    Once on the bugreporter page,
       -- click on New icon
       -- See if you need to attach a log file or log files, clicking on Show instructions for gathering logs.  Scroll down to find the area or application that matches the problem.
       -- etc.
    Developers:
    "Submitting Bugs and Feedback
    Your feedback goes a long way towards making our products even better. With Apple Bug Reporter, you can submit bug reports or request enhancements to APIs and developer tools."
    https://developer.apple.com/bug-reporting/

  • Mx:TextArea displays Chinese Characters (different in sdk 4.0,4.1,4.5)?

    (1) font Family: Microsoft elegant black
    (2) font Family: Founder Yao body

    1.flex_sdk 3.5.0
    Code:
    <mx:TextArea text="中文字体"   width="266"   height="84"   fontFamily="方正舒体"    fontSize="59"/>
    Run result:
    It's correct!
    2.flex_sdk 4.0.0
    Code:
    <mx:TextArea text="中文字体"   width="266"   height="84"   fontFamily="方正舒体"    fontSize="59"/>
    Run result:
    It's wrong!
    3.flex_sdk 4.1.0.16076
    Code:
    <mx:TextArea text="中文字体"   width="266"   height="84"   fontFamily="方正舒体"    fontSize="59"/>
    Run result:
    It's correct again!
    4.flex_sdk 4.5/4.5.1
    Code:
    <mx:TextArea text="中文字体"   width="266"   height="84"   fontFamily="方正舒体"    fontSize="59"/>
    Run result:
    It's wrong again!
    What a shame!

  • Chinese characters in SquirrelMail

    I have a customer who has problems using Chinese characters mixed with western european languages on his mailserver.
    It can now show chinese characters correctly, but you can't write mixed. The received mail (even if I mail to my self), its just showed as 下整 etc
    Do I need any special settings in the server/browser/reading computer?

    Hm, I rewrite the codes I got with spaces in between so you can see what I ment;
    & # 1 9 9 7 9 ; & # 2 59 7 2 ;
    I don't know if this will help, but those are the ascii escape codes that could be used for html web pages that don't support any other encoding. I don't think you should ever see them in email.

  • Chinese characters in url

    I´ve been asked to make a chinese version of a website
    but although I can create the pages using chinese characters I
    can´t make the urls or folders in chinese.
    eg 住宿.asp
    What should I be doing ?

    "drew lawson" <[email protected]> wrote in
    message
    news:go3g6a$p7h$[email protected]..
    > I?ve been asked to make a chinese version of a website
    but although
    > I can create the pages using chinese characters I can?t
    make the
    > urls or folders in chinese.
    Most websites created in Asian languages use the Roman
    alphabet (ABC)
    for file and folder names. However, modern browsers are now
    capable of
    handling URLs in Chinese characters and other scripts. As
    long as your
    computer supports Chinese, so does Dreamweaver (unless you're
    using an
    old version). If I recall correctly, all versions since
    Dreamweaver 8
    support Asian and other scripts.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • Chinese characters in filename

    After uploading a file in CV01N with Chinese characters in the filename, it cannot be subsequently opened in CV02N/3N. We get system message 26136 - File C:\xxxxx could not be accessed.
    I can copy the file to my PC and open from there. When I do this the Chinese characters in the file name are converted to '#'.
    Does anyone what I can do to open the file directly from CV02N/3N?
    We are on ECC6, EHP6, SP12 and are Unicode compliant.

    Hello Dean,
    To be able to use Chinese characters in a file name system locale (i.e. the character set which matches the language of the system locale) must be set to Chinese as well.
    Otherwise the characters cannot be processed properly (EN system locale does not know Chinese characters). Hope this helps. The best solution would certainly be to avoid non-ASCII
    characters in file names on EN operating systems.
    Best regards,
    Yuki

  • Chinese characters displayed with Arial

    Hello,
    I have got a very strange problem. I have a java application (I'm using Swing) that uses Chinese characters. The characters are displayed correctly.
    During runtime the characters turn into squares. There is no regularity or specific action I do that triggers this event.
    There are two problems:
    1. As I mentioned, the characters turn into squares
    2. The Chinese characters should NOT be displayed, as I am using "Arial", which does not contain Unicode characters.
    Some suppose that the glyph cache contains - for what reason ever - the Chinese characters. Consequently, though using arial you can display Unicode characters. Then, at an unknown moment the garbage collector clears the glyph cache so that the characters turn into squares.
    Is this theory logical? What other causes could there be for this problem? :-S
    Thanks...!
    Greets... Simon :-)

    Simon1187 wrote:
    Hello,
    I have got a very strange problem. I have a java application (I'm using Swing) that uses Chinese characters. The characters are displayed correctly. In your IDE which has a specific font selected...
    During runtime the characters turn into squares. There is no regularity or specific action I do that triggers this event. In your running application which does not...
    There are two problems:
    1. As I mentioned, the characters turn into squaresThey don't.
    2. The Chinese characters should NOT be displayed, as I am using "Arial", which does not contain Unicode characters.Which is exactly why you see what you see.
    Some suppose that the glyph cache contains - for what reason ever - the Chinese characters. Consequently, though using arial you can display Unicode characters. Then, at an unknown moment the garbage collector clears the glyph cache so that the characters turn into squares.
    Is this theory logical? What other causes could there be for this problem? :-S
    No. You're trying to display something the operating system and JVM can't display, and they show you the only thing they can show, a placeholder.

  • How to configure my Firefox thus allowing me to input Chinese characters into the search box by using PenPower writing pad while this problem doesn't exist when I am using Internet Explorer?

    I am using the electronic writing pad made by PENPOWER Inc. to input Chinese characters onto my PC programs (e.g. Winword, Internet Explorer, Excel, etc.) But I can not make it happened on Firefox, please advice what I have to do with the configuration of the Firefox or using any other method to make it work. Thanking you guys in advance for helping me to solve this problem.

    cor-el,
    Thank you very much for your advice. The new software of Penpower works rightaway after I installed it on my pc. Thanks again.
    十分感激你的幫忙!

Maybe you are looking for