Displaying characters.

Hello.
Well, i know how to compile unicode files (with japanese charcaters). But when the applet appears in the windows Explorer, there are only squares in place of the japanese characters.
Can someone help me to solve this problem? My pc can displays Japanese characters of a HTML page, but not characters of my applets, so it's not a missing font problem, i think.
Thank you by advance for your help!
Ciao!

The question is about applets, not about HTML. So the
problem is not with encodings, but with fonts. You
need a font that can render the Japanese characters
correctly, and you need your components to use that
font. That sounds easy -- use the setFont() method on
every component or something like that -- but in
practice it's difficult to know what fonts are
available on the client system. I don't have any
practical advice about how to deal with that problem.Well if it is a font problem (I wouldn't know about a problem like this, I'll take DrClap's word for it), you could package your program with a .ttf file or whatever it is and load it with an InputStream and use the Font.createFont() method.

Similar Messages

  • Can we add display characters to Free characteristics

    hi Gurus,
    I have a some material display attribute in the report and customer wants to add these display characters to free characteristics so that he wants to drill down with other charcters like plant. Can we add directly in query defination or do we need to convert to navigational attribute and then add as a free characteristics.
    Regards,
    Preety

    Its not possible, even if you make navigational the parent char dta will only be coming.
    If you are sure that the other char data will have same value for those attr,then go ahead and create nav.
    If not you need to include those attr in the cube.
    Hope its clear
    Cheers,
    Shana
    Thanks = pts in SDN

  • E90 Web Browser displays characters incorrectly

    Hi there,
    I've recently bought a Nokia E90 and have found it pretty cool so far, except for one thing: the Web Browser is not displaying characters correctly. It shows almost all of them as empty rectangles, with just one or two exceptions.
    I've checked several web pages (including ones that I maintain and which, therefore, I /know/ send correct character encoding information), both online and local and it happens on all of them.
    I've tried changing the settings to "Automatic" character encoding and "UTF-8" and it doesn't make any difference (I haven't tried any of the others, though most of them are for non-Latin alphabets).
    The characters display correctly throughout the rest of the OS (notes, QuickOffice, Acrobat Reader, etc.) - its just the Web Browser which is effected.
    The only significant changes I've made from factory settings are installing three applications: Python, PuTTY and OggPlay. I removed OggPlay after I installed it because it didn't seem to work (in fact, it sort of "crashed" the phone - I had to remove the battery to get it to work again!).
    Does anyone have any ideas why the Web Browser is not displaying characters correctly? Any help would be very much appreciated (considering how expensive the phone is!)
    Thanks.

    Hi Guys,
    I have also encountered the same issue: Most Characters are not displaying properly on the E90 Web browser. I am currently using E90 which is (English/Arabic and French) enabled.
    I have checked the same websites with N95 and there not a single problem.
    I am quite disappointed with the E90 website browsing experience especially that I am running the latest FW (v210.34.75), so keep hoping that this gets fixed with the next FW version.

  • PDF displaying characters instead of text

    I have a user that is trying to view a PDF using Acrobat X and has random characters display instead of text.  Other users with Acrobat X are able to view the document fine as well as other users who have previous version of Reader.  I have tried running a repair on the installation as well as disabling protected mode at startup.  Any idead on what to do?  This is on the display for this user not printing.
    Thanks,
    Chris

    As Jogn said you would have to use the planning connection. The smart lists used in planning are not in Essbase. Essbase stores the smartlist ID number not the text value.

  • Reading Unicode from textfile, displaying characters

    There is a textfile "readit.txt", which contains the following Unicodes:
    \u672c\u8a9e\u6587\u5b57\u5217I'm reading this file and try to display it, expecting to see some Chinese characters on my screen.
    try {
         fis = new FileInputStream(file);
         in = new InputStreamReader(fis);
         br = new BufferedReader(in);
         while((fileLine = br.readLine()) != null) {
              sb.append(fileLine + lineSep);
    } catch(FileNotFoundException e) {
         e.printStackTrace();
    } catch(IOException e) {
         e.printStackTrace();
    System.out.println(sb.toString());Above code doesn't work. It just displays exactly whats in the file.
    The weird thing is that it works well when doing this:
    System.out.println("\u672c\u8a9e\u6587\u5b57\u5217");It will then output 本語文字列

    836019 wrote:
    There is a textfile "readit.txt", which contains the following Unicodes:
    \u672c\u8a9e\u6587\u5b57\u5217I'm reading this file and try to display it, expecting to see some Chinese characters on my screen.
    try {
         fis = new FileInputStream(file);
         in = new InputStreamReader(fis);
         br = new BufferedReader(in);
         while((fileLine = br.readLine()) != null) {
              sb.append(fileLine + lineSep);
    } catch(FileNotFoundException e) {
         e.printStackTrace();
    } catch(IOException e) {
         e.printStackTrace();
    System.out.println(sb.toString());Above code doesn't work. It just displays exactly whats in the file.It works perfectly. The file has the character '\', then the character 'u', then the characters '6', '7', '2', 'c', etc. Those are just characters. BufferedReader has no way of knowing you want to interpret them as unicode escape sequences.
    I imagine there's a method somewhere in the core API that will convert those sequences to their corresponding characters.
    The weird thing is that it works well when doing this:
    System.out.println("\u672c\u8a9e\u6587\u5b57\u5217");It will then output 本語文字列That's because the Java compiler, unlike BufferedReader, does parse unicode escape sequences.

  • Displaying characters entered

    hi all
    iam very new to java
    u might find this question very silly
    i have written a program for displaying the contents which i am typing in the keyboard
    iam able to get the output for any characters entered from the keyboard but if i include || it displays all the characters entered until the character ||
    i dont know what is the problem
    some one please help me regarding this
    This is my code
    import java.io.*;
    class strcomp
    public static void main(String args[])
    String str;
    int count=0;
    count=args.length;
    System.out.println(count);
    for(int i=0;i<count;i++)
    str=args;
    System.out.print(str);

    Pass it with ""
    try this
    java strcomp *

  • Problem displaying characters from pdf file in Preview.app

    Hi,
    I hope someone can help with this problem.
    I have some issues with the display of pdf files on OSX. The problems are with ligatures like 'fl' which Preview.app displays incorrectly as 'oeu'. There are other symbols which Preview also displays incorrectly.
    This problem is not affected by cleaning the font cache and as far as I can tell all the fonts are present and correct. I am guessing the problem has something to do with Preview finding a different version of the Times or TimesRoman font than Adobe Reader uses, and so it gets the wrong symbol, but I'm not sure.
    How can I ensure that Preview uses the same fonts as Adobe Reader? and how can I get Preview to render my pdf's correctly?
    Here is a sample of the problem with Preview.app (4.1):
    !http://farm4.static.flickr.com/3456/33599073294296beb1a8m.jpg!
    and with Adobe Reader (9.0.0)- correctly rendered:
    !http://farm4.static.flickr.com/3448/335990717548aa12e576m.jpg!

    My computer automatically open PDF inside the Safari
    window, but I wish it would go back to opening it
    externally via Adobe. (maybe we should trade
    computers:-)
    Anyway, we have the same question.
    How do we control whether PDF launches internal to
    Safari, or external in Adobe?
    This is what I would like to as well. I often have a lot of pdf files I need to open and then save to my hard drive. When I click on a pdf file on a website Safari opens it and then I need to right click in the document to open it with Adobe. How can I get it to open in Adobe the first time without having to right click after it opens in Safari?
    Thanks!

  • Firefox will not display characters that were added by the webmaster on user PC?

    I employed a company to design a site for me which is great. Then I asked them to add a small button/image in the back end (admin area) that when clicked on will send an email. No image will display so I got them to change it to Text format, still it is not showing on my end. The design company are able to send me emails showing where it is but I cannot see it. It is worthwhile mentioning that it will not display in either IE8 or Opera, Is it a firewall problem ? Or a setting on Windows 7?
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 2.0.4.16; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; AskTB5.6)

    Can you post a link?
    Did you try to bypass or clear the cache?
    Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    You can reload the page and bypass the cache with:
    * Press and hold Shift and left-click the Reload button.
    * Press Ctrl + F5 or press Shift + Ctrl + R (Windows,Linux)
    * Press Shift + Cmd + R (MAC)
    See [[Keyboard shortcuts]] and [[Mouse shortcuts]]

  • [solved] Console font not displaying characters properly

    I have set up /etc/vconsole.conf to read as follows, as laid down in the unofficial beginners guide (or somewhere linked to from there)
    KEYMAP=us
    FONT=ter-114n
    When I boot, I get the proper font (that's one of the terminus-font s). But if i do something like
    % mv "hi" "hi"
    the characters that SHOULD be apostrophes are in fact... The greek letter rho or something. I don't know. However, if I run "setterm ter-114n" it loads both the font correctly, as well as the mapping. I cannot for the life of me figure out where it's getting that correct mapping, or how I can just load it automatically.
    Anybody know what else I need to do to have it set itself up?
    Thanks
    Last edited by scott_fakename (2013-06-20 15:22:41)

    Maybe your problem is similar to this one, read the bug report.
    https://bugs.archlinux.org/task/35721

  • Displaying characters on the Web

    Hi All,
    I have this script that brings data from a DB.
    <?php
    $conn = oci_connect('my_user', 'my_pwd', 'my_db');
    $stid = oci_parse($conn, 'select arabic_name from emp where id = 1');
    oci_execute($stid);
    echo "<table>\n";
    while (($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) != false) {
    echo "<tr>\n";
    foreach ($row as $item) {
    echo " <td>".($item !== null ? htmlentities($item, ENT_QUOTES) : " ")."</td>\n";
    echo "</tr>\n";
    echo "</table>\n";
    echo "ãÍãÏ Ããíä";
    ?>
    The output is :
    <table>
    <tr>
    <td>&atilde;&Iacute;&atilde;&Iuml; &Atilde;&atilde;&iacute;&auml;</td>
    </tr>
    </table>
    ãÍãÏ Ããíä
    The problem is that "ãÍãÏ Ããíä" is completly equivalent to "&atilde;&Iacute;&atilde;&Iuml; &Atilde;&atilde;&iacute;&auml;".
    It seems like PHP is interpreting the data from my_db.
    How can I redirect PHP behavior so it brings "ã" rather then "&atilde;" and "Í" rather then "&Iacute;", ...
    So my desired out put is :
    <table>
    <tr>
    <td>ãÍãÏ Ããíä</td>
    </tr>
    </table>
    ãÍãÏ Ããíä
    Thank you in advance

    Start by using another tool such as SQL*Plus to check that the data is correctly stored in the DB.
    Then review the globalization section of the 2-Day PHP manual: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10811/ch_eight.htm#sthref690
    Make sure NLS_LANG is set in the shell that starts the webserver. Do not set it in the .php file.

  • Problems displaying characters on the terminal

    This screenshot shows my problem.
    When i type anything in the console, it starts doing this funny efect... and, of course, is a bit confusing since somethimes you cannot see what you are typing.
    Video card is a nvidia one: Compiz fusion activated and free drivers installed (same issues happened to me with the propietary ones)
    Any ideas on how to fix it?

    Try --indirect-rendering and/or --loose-binding for compiz. I'm not too sure if these are the exact names of the options but it should be something alike.
    Last edited by kowalski (2009-08-25 08:44:18)

  • The JSP WYSIWYG Editor can't display most Unicode characters

    Eclipse supports display of Unicode characters very well since version 3. However, NitroX couldn't display most most of them. Well, besides characters from other non-Western European languages, NitroX can't even display characters that it's supposed to support. Well, that's what I think so. I mean, when we type the & character, we have the whole list of character entity references amongst which we could find &and; &nabla; &or; &rarr; but which are not displayed correctly. And many more are in this case.
    Is this a feature or a bug? By "feature", it means that we can't get them in free version.

    I have exactly the same problem. I support web pages for 25 European countries. I've not seen Nitrox support any unicode characters. Until M7 answers this question or fixes the editor, you can use the Eclipse editor to see and edit the text.

  • Displaying Asian characters on Solaris platform?

    I have a java application that can display Chinese, Japanese, Korean & Taiwanese (CJKT) on a Windows platform. It is able to display these characters on Windows because i have installed the CJKT locales and have modified the font.properties file to provide the necessary font mappings for the CJKT charsets. But, when i do the same modifications in Solaris (i.e. install the locales & modify the font.properties to provide mappings to various fonts that support the CJKT charsets) and run the application, i am not able to see the CJKT characters. The CJKT characters are displayed as boxes when the application is run in the en_US.ISO8859-1 locale.
    Could someone please suggest what can be done to enable the display of CJKT characters on an ISO8859-1 locale?
    It seems Solaris has locale-specific font installation. Is there any way a font from one loacale (say japanese) can be used in the other i.e. system locale (say korean) to display characters of the first locale (japanese)?

    Thanks, but it does not answer the question.
    I already have the required locales installed. It is just that i'm not able to display Asian characters on an English locale. I am using the Java logical font (serif), and the font.properties does map it to the various fonts that support the CJKT (Chinese, Japanese, Korean & Taiwanese) charsets, but still the application is unable to display the CJKT characters. It seems that java makes use of the X11 fonts and they happen to be installed in separate directories, one for each locale. This could be the reason why the other fonts are not available in the ISO8859-1 locale.
    Is there any way we can map use the fonts of other locales by making use of the java logical font?

  • [solved] Emacs in X windows - Characters are not displayed

    Emacs works fine when run with -nw.
    But when I run it without, in X Windows, emacs does not display characters properly. It just displays those whites boxes with the black borders. The ones you see when you're trying to view characters for which you don't have the right font.
    I installed XEmacs, and that worked fine. I don't understand why the normal Emacs doesn't.
    I'll post a screenshot when I'm home from work, but you should get the gist of the problem.
    Last edited by Weeks (2007-05-05 23:18:59)

    Yeah I figured that out when I got back home. It was my own fault for running emacs from Run Program in xfce instead of from the Terminal.
    However, I've installed that package along with the 75dpi one and it still doesn't work. I even ran fc-cache again just to be sure. Weird.
    The error is "Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct" So perhaps it's a fontconfig problem. Both fontconfig and freetype2 as up-to-date. Hmm.
    [EDIT] I restared X and everything worked. Thanks. I've updated the wiki with the information. I'll send a diff to the maintainer at some point; the PKGBUILD should really tell the user that he/she needs to install these fonts if using X windows
    Last edited by Weeks (2007-05-05 23:32:05)

  • On some websites, some characters load as only boxes with four numbers/letters in them. What is this, and how do I get it to display the characters properly?

    Several pages will display characters as only boxes with four letters in them. I would like it to display all the characters.

    See my posts in this thread: [/questions/766381]
    Pages that use Unicode (UTF-8) display a little box with the hex code if the character can't be displayed. That allows you to look up the character in a table.
    This can be caused by missing font support for East Asian (CJK: Chinese, Japanese, Korean) or complex script (Indic) languages.

Maybe you are looking for

  • Running a Java App like a service in linux and not closing with window

    I know its not really a question i should ask you but thought you might have a quick answer for me, I have trying to running a small java application on one of the servers. I want it to run almost like a service, what i mean is i dont want the applic

  • PCD search using TREX SP16

    Hi All, I am trying to search for portal iviews, pages & roles using TREX. I created the index & assigned the PCD folder (I have done all the pre-requisites for PCD search).... Then when i opened the Index Administration page, the status for the inde

  • Is it BADI Problem ????

    hi, i guess may be i am missing something but pl. guys check it at ur end. i have done some coding in my PO BADI 'ZME_PROCESS_PO_CUST' in PROCESS_ITEM method, the check works fine it also give the said error (if any), but if i held my PO then it is s

  • 4.1EA2 User-Defined-Report strips CRLF when using PL/SQL DBMS Output

    Hi, I have a report with a child report. That child report uses pl/sql to print to the screen. (dbms output) When i use the procedure manually it prints fine. When i copy this output to a text editor i can see the CRLF in there. If i call the same pr

  • Returning a Macbook Pro 15.4 to original shipment status

    I am getting ready to send my grandfather my old Macbook pro. Although It would be simple enough to try to educate him how to insert the DVD, hold the C key and follow along, I was wondering if its possible to return the hard disk to the same status