Display traditional chinese

Hi
I am now trying to use the JavaTV RI 1.1 which is just released.
The RI uses a XML file as it's SI source and parse the file to
create standard object which is specified in the JavaTV API
for application to read SI.
One of the main difference between JavaTV RI 1.0 and 1.1
is that the virtual machine. 1.1 uses CVM instead of JVM.
Thus displaying traditional chinese (as well as other language)
becomes a problem.
If I add traditional chinese characters in the XML file,
how do I parse them?
And also, how do I display them correctly?
Does the RI use unicode?

Hi Howard,
if i use Font.createFont() to general font object that
can solve chinese display problem in RH 7.3. but i
thought, it's no reasonable way to use font object.
that is really bad for cross-platform benefit or you
need to carry font file with your application.
have a way to set default font use createFont()
object?In the past, I've carried the font file around with me. Given the number of graphics files, properties files and
other assorted garbage that apps are already carrying around, it's not too unreasonable to have to add a
TrueType font to the list of hangers-on (unless it's the size of Arial Unicode MS - 23Mb is a big ask sometimes)!
Given that TrueType fonts themselves are essentially platform-independent, I don't see it as too much of an issue. But that's just me and my experiences! ;-)
To set the font as default...
try {
    FileInputStream fis = new FileInputStream("myFont.ttf");
    Font defaultFont = Font.createFont(Font.TRUETYPE_FONT, fis);
    setFont(defaultFont);
} catch (FontFormatException ffe) {
    System.err.println("My TrueType font is corrupted.");
} catch (IOException ioe) {
    System.err.println("My I/O stuffed up.");
}There are various ways to set the font in even better ways, particularly if you're in a standalone app, but the above is at least a good basic one.
Hope that helps,
Martin Hughes

Similar Messages

  • Acrobat Reader cannot display Traditional Chinese Character correctly in 64 bit Windows 7

    Hi,
    I get a pdf file cannot display chinese character properly in Windows 7 64 bit but Windows XP 32 bit.  I did uninstall and re-install Reader 9.4.3 and 10.0.1 with and without Traditional Fonts patch in the 64 bit machine but no luck.  Does anyone have a solution for this?
    Thanks in advance.

    I run Acrobat 9.3.3 on my Windows 7 Pro 64-bit system with no problems. Perhaps you should make sure you have all of Acrobat 9's maintenance installed.
    Ken Friedman

  • Traditional Chinese text display

    Which regions of Nokia 808 pureview support display of traditional Chinese characters? Can the singapore model display that? Input support would be nice but not essential.

    Thanks adrian, Nokia care point may be my last option.
    As the phone is not being sold in my region, I have to import it from overseas. It would be easier for me to import the model that already has the language capability built-in. In addition, I'm not sure if my local Nokia Care point is willing to add language pack to an imported phone. I'm particularly interested in the Singapore model because it already fully supports simiplified Chinese and FM transmitter. Just not quite sure if it can also display traditional Chinese.

  • Traditional Chinese character?

    We all know that the support for Traditional Chinese is excluded in iPad, make no difference to me since I don't use Chinese, both Simplified Chinese or Traditional Chinese character. But I still would like to know, Can iPad English version view well when I browsing some Traditional Chinese web sites?
    Thanks in advance.
    PS. By the way, I am NOT a Chinese, we just had no choice to use China's language, Chinese(government, people and language) is no good, they are just like Burma, North Korea, Chinese government control people's lives and death.
    PS2. I'm from Formosa (Taiwan), Taiwan has been an independent country since 1949. but sadly, CNP(aka KMT) they love to kiss China's ***, and they killed many innocent Taiwanese from 1949~1999 too. Just a brief to let you know where I came from. because I think it's important, I considered ourselves as a big Apple family.

    I still would like to know, Can iPad English version view well when I browsing some Traditional Chinese web sites?
    Yes. The iPad has no problem displaying Traditional Chinese (or any of the other languages that the iPhone handles). Examples of scripts which the iPad (like the iPhone) cannot yet display correctly are Devanagari, Bengali, Tamil, and Tibetan.

  • Traditional Chinese Language (Character Input)

    Assuming the Mac can display Traditional Chinese, then it can be said that it can also input Traditional Chinese.
    -Do you still have the same options as you do for PC?
    (e.g 'Chang Jie', 'Quick' and 'New Phonetic')
    or
    -Is it through Mac, and is completely different?

    then it can be said that it can also input
    Traditional Chinese.
    -Do you still have the same options as you do for PC?
    (e.g 'Chang Jie', 'Quick' and 'New Phonetic')
    You can find all the info about the TCIM here:
    http://www.yale.edu/chinesemac/pages/tcim_x4.html

  • Display problem when reading Traditional Chinese in Crystal Report 2008

    Hi All,
    I have tried to connect MS SQL 6.5 to build up a report. However, I encounter a problem when read Traditional Chinese. all chinese characters turn into adnormal characters. I wonder it is problem of SQL Server or some setting that I may not know. In addition, I can able to read chinese in the application program , ISQL / Query Analyzer. Please help to give idea and suggestion to fix this. Thanks
    SQL Server: MS SQL Server  6.5
    Client OS: Window XP ( Traditional Chinese Version)
    Server OS: Window NT and Window Server 2000
    Stsyou

    Hi
    If you are using a Chinese language build database, Crystal Reports English build might not display the characters properly as non english databases include one byte characters as ASCII code character and double-byte characters as their own language code character.
    Traditional Chinese, Simplified Chinese, Japanese (Kanji, Hiranga, and Katakana), Korean and Vietnamese use double-byte characters.
    However, a possible workaround to this issue is to verify that the encoding on the database client is configured according to the examples below. Also, you will need to install the language pack in the English environment.
    CONFIGURATION EXAMPLES:
    Shift-JIS for a Japanese database
    Big5 for a Traditional Chinese database
    GB2312 for a Simplified Chinese database
    iso-2022-kr for a Korean database
    Windows 1258 for a Vietnamese database
    EXAMPLE SCENARIO:
    An Oracle database saves non-English language data such as Japanese.
    The Windows operating system is English.
    STEP TO CONFIGURE THE CHARACTER CODE IN THE ENVIRONMENT SETTING
    (This step is based on the details of the EXAMPLE SCENARIO.)
    1. Configure the system environment on the database client side to 'Shift-JIS' as the character code set in the Environment Setting.
    This results in the NLS_LANG variable set to Japanese_Japan.JA16SJIS under the registry HKEY_Local_Machine\Software\Oracle\Homeo.
    STEPS TO INSTALL LANGUAGE PACK IN AN ENGLISH ENVIRONMENT
    (These steps are based on the details of the EXAMPLE SCENARIO.)
    1. Add languages to the computer system by clicking:
    Control Panel > Regional Options > General
    2. Select the check box for 'Traditional Chinese', 'Simplified Chinese', 'Japanese', 'Korean' or 'Vietnamese'.
    3. Click 'Apply'.
    4. When you are prompted, insert the Windows CD-ROM to install the language pack.
    5. Restart the computer.
    Upon completing these steps, you are able to display the languages characters in the Crystal Reports Designer in a Windows English environment.
    ==========
    NOTE:
    If the database table and field names use non-English language characters, Data Explorer in CR will not correctly display these names. However, when you preview the report, the non-English data displays correctly.
    ==========
    Configuring the database client according to the examples and installing the language pack will display the characters successfully. However, there are cases when this workaround does not resolve the issue.
    For further information about CR and double-byte languages, refer to knowledge base articles, c2008083 and c2008349.
    Hope this helps!!!
    Regards
    Sourashree

  • UTF8 and Traditional chinese display problem

    I have having problems displaying chinese because I am trying to pull data from 2 difference sources into a 3rd source.
    Question 1
    I am using Oracle 8.17 on Sun Solaris - (in China).
    The NLS_LANG on that machine (Machine name is CNCIM) is American. The NLS_CHARACTERSET is ZHS16GBK.
    We are using Java to write data into this server. The data has been stored as UTF8.
    When I use TOAD, to look at the chinese characters, I cannot see the actual characters.
    What I see in TOAD is something like this
    上海市山东中路145号
    Convert function does not seem to work. Can someone advice me how I can see the raw data in chinese?
    Question 2
    Currently, I am also trying to import the above UTF8 data into my Local Oracle Machine (APDM)
    The NLS_LANG on that machine is American. The NLS_CHARACTERSET is WE8ISO8859P1.
    And at the sametime, I am trying to import information from SQL2000 into Local Oracle Machine (APDM).
    I was told that the data in SQL2000 has been setup as tradtional Chinese.
    What type of settings should I have on my local machine(APDM) to allow me to view Chinese data (From CNCIM - UTF8) and to see the SQL2000(traditional chinese) data at the same time? Should this settings
    be configured for my client too?

    My hunch is that Toad either does not support the display of Chinese characters, at least not without setting your Windows regional settings to Chinese. Can you retrieve the data via your Java application?
    If your database character set is ZHS16GBK, that should be the character set that the data is stored in the database. If your Java application is sending over UTF-8 encoded data, you need to ensure that the NLS_LANG settings on the client machine identify the data as UTF-8 so that Oracle can do the necessary character set conversion.
    If your local database is using the ISO 8859-1 character set, it cannot store Chinese data. You would need to create a new database with a character set that supports Chinese if you wanted to store Chinese data there.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Can't display *proper* Chinese char in v3.0.04 connecting to MySQL

    Hello to all guru,
    I am having some trouble on displaying Chinese characters on SQLDeveloper connecting MySQL database...
    Database: MySQL 5.5.17, for Win32 (x86)
    SQLDeveloper: 3.0.04
    JDBC: Connector/J 5.1.18 from MySQL
    Connection has no problem, retrieving data also great.
    Using mysql.exe at Windows Command Prompt, it could display the proper Chinese characters perfectly...
    mysql> SHOW VARIABLES LIKE 'character_set_system';
    -----------------------------+
    | Variable_name | Value |
    -----------------------------+
    | character_set_system | utf8 |
    -----------------------------+
    1 row in set (0.09 sec)
    mysql> select display_name, display_name_chi
    -> from contact
    -> where display_name = 'David Chan';
    --------------------------------+
    | display_name | display_name_chi |
    --------------------------------+
    | David Chan | 陳大衛 |
    --------------------------------+
    1 row in set (0.00 sec)
    Run the same select query on SQLDeveloper, it shows...
    display_name     display_name_chi
    David Chan     ³¯¤j½Ã
    On SQLDeveloper, Tools > Preferences > Database > NLS, there seems to have some NLS settings to play with, and default settings are:
    Language: AMERICAN
    Territory: AMERICA
    Tried changing to the followings...
    Language: TRADITIONAL CHINESE
    Territory: TAIWAN
    Still displaying the monster characters... I haven't tested to see if SQLDeveloper would behave the same while connecting to Oracle Database, and I am thinking maybe just the Java GUI's issue?!
    Can anyone give me some idea?

    Hi,
    Here is a post that provides a solution for a similar Chinese language situation related to the Oracle JDBC driver:
    Re: Can't select using special characters (symbols)
    Perhaps you will be able to find something equivalent for the MySQL driver.
    Regards,
    Gary
    SQL Developer Team

  • Captivate 5.5 pasted Traditional Chinese characters don't render correctly

    Hi,
    I've been trying to cut-and-paste Traditional Chinese characters from PowerPoint (where they render perfectly) into Captivate, but they only get rendered partially. Here is an example
    From PPT:
    After pasting into Captivate:
    What could be going on here? Obviously, the Win7 system can render the characters correctly, but why don't they all display in Captivate?
    Thanks for any assistance,
    Andy

    Yeah. I've done that so many times it boggles my mind. Thanks but no star for you on this one, sorry.

  • Convert simplified to traditional chinese

    I have opened an epub in digital editions and it is showing up with simplified chinese font.  Is there a setting to change the display to traditional chinese font?

    AndreLi wrote:
    Hi,
    I have a .html file created be FrontPage. The encoding was automatically set to Windows1252 (I did not pay attention). I did not change it. I can manually edit it to include Chinese characters, without problem. But the Chinese characters in the files are special code, something like:
    有三个部分
    There is not problem to edit them or showing them using FrontPage, or FireFox. But, now, I want to convert them from simplified Chinese characters to traditional ones. There are many tools to convert Chinese chars, but they do not convert &#26377 in html files.
    Where can I find the mapping table for these kind of coding?
    Any information would be appreciated. Thanks in advance.You have a character set 1 and a character set 2. You assume that you have a character that is in set 1 which also has a representation in set 2.
    If in fact there is such a mapping then you simply look for the characters in the source, look the mapping up, and the write out to a new location replacing the old character (data) with the new.
    The first step of course is identifying explicitly what character set 1 and set 2 are. Then you find something that has a full representation of each of those. And then you map, manually, from one to the other.
    Note that in the above there is in fact the possiblity that there is no mapping. And actually since it appears that you have used tools that map many characters but not this one then it is likely that this is exactly the case.

  • Pls help - Displaying Simplified Chinese characters

    Hi all,
    I am using Servlet to generate HTML.
    When I use setContentType="charset=big5" and out.println(" . . . ."); with Big-5 Traditional Chinese characters, everything is fine.
    However, when I use setContentType="charset=gb2312" and out.println(" . . . ."); with GB2312 Simplified Chinese characters, everything is trash with some ??????.
    The internet browser in both cases can correctly set to the appropriate character set, that is, in the 1st case it is big5 and in the 2nd case it is gb2312.
    Pls help

    It should be because the font provided cannot handle the characters. Java only ever sprays question marks or rectangles at you if the font you're using is incapable of displaying what you're trying to show.
    I'd imagine that the system's default font is capable of displaying Big5 Chinese characters quite happily if it's working on the page. The problem will come when you switch the encoding of the page and the characters within it. The same default font obviously can't display GBK stuff. So switching the font (probably through the use of <FONT face=""> tags) might do the trick.
    Hope that helps!
    Martin Hughes

  • Traditional Chinese Characters

    My Blackberry Style will not show traditional Chinese characters.  They just appear as black squares.   Can I fix this?

    Hi and Welcome to the Community!
    It all depends on the OS that you are running on your BB...there are different versions for different languages to use. Start here:
    KB05305Localization support for BlackBerry smartphones
    You will need to obtain and install the proper OS, one that contains the language(s) you desire. 
    To install, the simplest way is to, on a PC (you cannot do this on MAC):
    1) Uninstall, from your PC, any BB OS packages
    2) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/apps-software/desktop/?lid=us:bboftwareesktopSoftware&lpos=us:bboftware
    3) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    4) If that OS package is from a carrier other than the carrier for which your BB was originally manufactured, then delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    5) Launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC. If, during the process, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    Don't forget to backup.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • System displaying few chinese characters as '??'...

    Hi,
    On search help, few of the chinese charaters are gettin displayed as '??'..
    why is'nt the system identifying these characters??...
    I did check on options->I18N...its activated and my PC local language is 'Chinese'..
    Still iam facing the same problem?!...
    Can anyone help me out??

    Sorry..
    Problem is solved..
    (alt+f12) - charater set - >Traditional chinese..
    that soved the problem!!

  • Problems Embedding Traditional Chinese

    Hello,
    I am trying to embed Traditional Chinese characters and I'm having issues.
    I've embeded the font through the Flash IDE (property inspector), and I've used a regular TextField
    and a TLFTextField.
    The TLFTextField doesn't seem to embed all the characters properly and I don't understand what
    the issue is and how to fix it.
    Here is a screenshot of the SWF. As you can see, some characters look like the device font.
    On Windows, some characters do not display/were not properly embedded.
    Has anyone else come across this issue ? Am I missing something ?
    Any reason why no all the Traditional Chinese characters get embeedded ?
    Thanks,
    George

    Hello,
    I am trying to embed Traditional Chinese characters and I'm having issues.
    I've embeded the font through the Flash IDE (property inspector), and I've used a regular TextField
    and a TLFTextField.
    The TLFTextField doesn't seem to embed all the characters properly and I don't understand what
    the issue is and how to fix it.
    Here is a screenshot of the SWF. As you can see, some characters look like the device font.
    On Windows, some characters do not display/were not properly embedded.
    Has anyone else come across this issue ? Am I missing something ?
    Any reason why no all the Traditional Chinese characters get embeedded ?
    Thanks,
    George

  • Simplified chinese vs Traditional chinese.

    Hi!
    I'm doing a java application which displays some chinese characters. These chinese characters can either be in Simplified chinese format or Traditional chinese format. I use unicode to get these chinese characters and store them into a hashmap in unicode format.
    The question is: if a chiense character has 2 form, one in simplified and the other traditional, when convert to unicode. Are they suppose to have the same unicode value or 2 different values to represent them in 2 forms?
    Appreciated you guys for taking time to read this. Hope that you all can reply asap,
    -KAren-

    Hi Karen,
    as mentioned in my other reply... ;-)
    Yes, they will use the same Unicode value.
    Traditional and Simplified differ in two ways, really.
    1) Traditional covers a lot more charaters - 4E00 right up to 9FFF. That's over 20000 characters.
    I'm not quite sure which Unicode number Simplified stops at, but I know its range is much smaller, probably around 8000 characters (someone please correct me if I'm wrong!). Both Traditional and Simplified start their range at 4E00, so both know how to display the first 8000 characters (or whatever) after this.
    2) The two encodings will display their Kanji slightly differently. Traditional-encoded Kanji generally appear more rounded and calligraphic. Simplified Kanji usually look like they've just come off a Chinese typewriter. ;-)
    Also, the Kanji may have a stroke or two added or removed here and there between the two encodings (so the odd dash might appear in one and not the other), or the stroke order of the Kanji may change slightly, resulting in them appearing slightly differently.
    Of course, this is pretty much all down to the way the fonts display the Kanji anyway, but I find that fonts that support the full Traditional encoding range are more rounded (MingLiU, PMingLiU), while those that support only the Simplified range look very rectangular and blocky (SimHei, SimSun). But that might just be me. ;-D
    You should choose between Traditional and Simplified encoding depending on whether you're going to be using a pretty broad range of Kanji (including a few rarely-used ones), and whether you want your Kanji to look pretty or just plain functional. ;-)
    Hope that helps!
    Martin Hughes

Maybe you are looking for

  • E71 how to search contact by phone number

    Hi All, any idea for E71 how to search contact by phone number? sometimes it will be useful if  i can just type in the phone number and it show me the contact name Thanks

  • Policy issues win xp sp2 and zfd ir6

    Hi, I have been having this issue for about 4 days. In our school environment we push a very restrictive policy out to the desktop, and also apply printers during the login process. About Tuesday afternoon, I noticed that some labs were not receiving

  • I'm using Ubuntu 11.04 The firefox menu-bar is on the top of the screen - how can I get it into the firefox window?

    Maybe I'm an idiot - this does seem a very simple issue. I can right click on the tab bar and check things like Navigation Bar, or Add-on bar and they all work fine - but the menu bar is stuck on the top of the screen and appears when I role over it.

  • JRE Package could not be opened.

    I am trying to update my java because pogo wont work without me doing so. when i try to install jre version 5 a message pops up saying 'this installation package could not be opened. verify that the package exists and that you can access it, or conta

  • MSI KT4 Ultra! A little question.

    Hello. ) I'm very interested, in the new MSI KT4 Ultra, but i've a doubt: The pure version of the KT4 Ultra, has a fan on the chipset? How many IDE channels come with this pure version? Thank you, and sorry about my poor english.  :D