Displaying certain characters?

Hey I'm just trying to program some playing card games. At the moment the cards are just represented textually. For example the 4 of Clubs is "4c". I would like to use ♥ ♦ ♣ and ♠ (ascii equivalents 3 4 5 and 6), but when I run the program they are just output as "?". I'm using Netbeans 5.5 to compile and run right now. Do I need to include a specific package or update something, or is it just not possible.

Normally I wouldn't say this, but you might be better off going right to the GUI.
It's pretty trivial to make a card object with an associated image, that you can display on a window during gameplay.
Also there are images of decks of cards, etc., on the net that can be downloaded easily (and it's not that hard to make an image of a deck of cards programmatically either).

Similar Messages

  • Firefox is displaying certain characters/sentences incorrectly

    Firefox has for a while now, displayed certain words in gibberish.
    The majority of text on a site is fine, however i come across certain websites where the headers/text in boxes (dynamic text? i don't have a clue) displays in an unreadable language, but it appears that the spell checker plug-in I have installed seems to recognise words spelt incorrectly in this gibberish.
    I have looked at the settings, and the default text is set to times new roman, which every computer seems to have.
    Please see the link to see my problem.
    Any advice greatly appreciated.
    Matt

    Your screenshot didn't attach properly, only the thumbnail shows.<br />
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    Make sure that you choose an unique name for the image to avoid problems (an image with the same name may already exist). There should be a delete X on the image if the image is uploaded correctly.
    Such issues can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.<br />
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.<br />
    A possible test is to zoom out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    You need to uninstall (remove) all variants of that not working font to make Firefox use another font.

  • CR not displaying certain characters.

    Afternoon,
    I hope this is the best forum for my question/problem otherwise would appreciate a push in the right direction.
    Working in Eclipse 3.4.1
    Crystal Reports for Eclipse  v2.0.4.r825
    Oracle9i Enterprise Edition Release 9.2.0.8.0
    NLS_Characterset:  EE8ISO8859P2
    The situation is that I am working with a DB that has Slovakian characters in it. 
    For example "Hodžovo námestie 3" The ž is not being handled correctly.
    If I setup a database connection using the Oracle Thin driver (ojdbc14.jar) I get ? returned on the report in place of the ž or
    if I try browse the data by right clicking on the specific column in the "Data" screen, I get a square instead.
    If I copy the text into a text box, it can display correctly on the report so this leads me to believe it is not the font settings
    that are causing the problems, but rather how the database drivers are interpreting the specific character.
    I have tried playing around with the NLS but I have not had too much luck.
    The NLS_LANGUAGE item in the registry is "ENGLISH_UNITED KINGDOM.EE8ISO8859P2" so as far as I can tell all enviromental
    references to character set are all correctly set to ISO-8859-2.
    If I run a SQL query in SLQ*Plus Worksheet, I get the correct string returned : "Hodžovo námestie 3" so I know the data in the
    database is stored correctly.
    Can anyone give me an idea of what I am doing wrong, what I need to do to solve the problem,
    or if you need more info can you tell me what you need and how to get it for you?
    Any help would be greatly appriciated.
    Cheers
    Darren

    Thanks Don,
    I decided to try another approach, and created a SQL Scrapbook with the following SQL:
    SELECT USERENV ('language') FROM DUAL;
    Now the result I get when running the same SQL using the exact same conneciton details on SQL*Plus Worksheet is:
    ENGLISH_UNITED KINGDOM.EE8ISO8859P2
    but if I run it through Eclipse and SQL Scrapbook I get the result:
    POLISH_POLAND.EE8ISO8859P2
    Dont know if that gives anyone some ideas, I will see what my DBA thinks if I can get hold of him.

  • Webpage not displaying certain characters correctly. Similar question already asked but not quite the same

    I am using version 4.0.1 and it was a clean install after I reformatted my hard drive and did all the updates. I have a Dell Dimension 3000 with a 3.0 Ghz CPU with Hyperthreading and 2 GB memory.
    On this one particular website I belong to, where a colon is supposed to be, I get this little square box with the letters FF IR in it. I have the default settings for Western (ISO-8859-1) for the Default Character Encoding.
    I've asked other members of that website and they have the same settings, but they see the colon and not the FF IR.
    I will include a link for the site and I don't think you have to sign up to view it and I did a screen shot for both Mozilla/Firefox 4.0.1 and Internet Explorer 8.0.6001.18702 but in Internet Explorer, where the colon is supposed to be there is just a little square.
    I will include a link to the site and if you scroll down to post # 2, you will see the screen shots of the problem for both Mozilla/Firefox and Internet Explorer.
    Here is the link:
    http://forum1.aimoo.com/theyulelog/MESSAGE-BOARD-TECHNICAL-ISSUES-QUESTIONS/RE-Not-sure-if-this-is-a-technical-issue-or-not-1-2021099.html
    I know you can't help with Microsoft programs and that is fine as I only used Internet Explorer for Microsoft Updates and to download Mozilla/Firefox.
    Initially the responses from the site owner didn't have any problems on his end, but another person gave me some tips but they didn't work and then we found out that it is indeed supposed to be a colon.
    I didn't have this problem with earlier versions, but when I had to reformat and reinstall everything, the only version I could download from Mozilla/Firefox was 4.0.1
    I'm also including the information from this help section where it says "We've made some educated guesses about your current browser and operating system. Show details>>
    '''*''' Office Plugin for Netscape Navigator
    * Adobe PDF Plug-In For Firefox and Netscape 10.0.1
    * Winamp Application Detector
    * The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    * Shockwave Flash 10.3 r181
    * Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    * Npdsplay dll
    * DRM Store Netscape Plugin
    * DRM Netscape Network Object''''''
    I thank you in advance.
    Susan

    I'm not sure what screen shot you are referring to, but if it is in your initial reply, before you typed the thing about''' "I do not seem to have a font to display" ''' But I see the FF IR and then the FF IR with quotation marks on each side.
    Then pretty much of the whole page instead of having different characters for each font set, it shows several rows of FF IR.
    I did notice the same problem today with a site I belong to that I take surveys for, the whole page was filled with FF IR
    If the oxFFoo - oxFFFF block, I actually went to the search function for the page the link you included brings me too and neither of them showed up so I don't know what to do. I did earlier try to do a search for how to add the : font to my Unicode and the first thing that came up was "Basic Latin" Unicode Character 'COLON' (U+003A
    Someone from the website I'm having the problem with told me something about UTF-8 encoding and gave me a link to check why Firefox doesn't detect UTF-8 encoding. I checked the fonts and under UTF, it starts with UTF-16 so I guess I have to figure a way to add UTF-8.
    I thank you again for your help.
    Susan

  • Report not displaying certain characters

    I've got a report that needs to display a list of names.Some of the names have characters like "." or "-" or "\", when I run the report it gives me the names without those characters.
    Whats up ?

    Thanks Don,
    I decided to try another approach, and created a SQL Scrapbook with the following SQL:
    SELECT USERENV ('language') FROM DUAL;
    Now the result I get when running the same SQL using the exact same conneciton details on SQL*Plus Worksheet is:
    ENGLISH_UNITED KINGDOM.EE8ISO8859P2
    but if I run it through Eclipse and SQL Scrapbook I get the result:
    POLISH_POLAND.EE8ISO8859P2
    Dont know if that gives anyone some ideas, I will see what my DBA thinks if I can get hold of him.

  • Embedding certain characters

    Hi, I'm using the actionscript attached below to retrieve
    text into a dynamic text box. I've also embedded a font that the
    dynamic text boxes are set to display entitled 'Codex LT' by adding
    it to my Library and changing the Linkage Properties to 'Export for
    ActionScript' and 'Export in first frame'.
    All of this works very well - the text is retrieved and is
    displayed as Codex LT even on computers that don't have the font
    installed. The only problem is that the dynamic text box refuses to
    display certain characters such as '+' and '€', even though
    it does display other similar characters such as '=' and '$'.
    Do you know how I can fix this?
    Many thanks,
    Leo

    Thanks for your reply, I tried adding more glyphs via the
    Embed option in the dynamic text box's properties box but it has
    zero effect. I tried adding all the Latin characters, then I tried
    to add the '+' character via the 'Include these characters:' option
    and then I tried the 'All (39477) glyphs' option but after each
    attempt I published my movie and the '+' character failed to
    appear.
    I originally embedded the Codex LT font by importing it into
    my library and changing the 'Linkage properties', as when I tried
    to embed the font via the Embed option in the properties panel it
    didn't seem to embed the font at all.
    Do you have any other suggestions? Perhaps there are some
    tricks to make sure all the characters of a font are embedded into
    a movie.
    Cheers – Leao

  • Certain characters such as "-" in UTF-8 are not displayed correctly in file

    Hi,
    Has anyone else seen a similar scenario?
    There are certain characters entered in the R/3 system (UTF-8) such as a and ("), which looks different then the normal dash or quotation, in a free form text field.  The values of these fields are transferred through XI via abap proxy and written to a mainframe file via the file adapter.  The default file encoding of our XI system is ISO-8859-1.  When the file is created these characters are interpreted as a (?).   When we change the encoding to UTF-8 in the receiver adapter, it translates the characters as (b.).  When I write the file out to the file system with encoding UTF-8, everything looks normal.
    Can anyone shed some light on this situation?
    Thanks.
    Best Regards,
    Duke

    Hi Stefan,
    To clarify, the (") the user is entering are curly quotes.  I found this on google.
    Windows ANSI (224 characters; since Win3.1). This adds the accented characters common in Western European languages (including vowels with acute, grave, circumflex and umlaut accents), plus some other typographical symbols like u201Ccurly quotesu201D, bullets, currency symbols etc. The additional 126 characters above the ASCII set are called u201CUpper ANSIu201D.
    This is a flat file using content conversion on the receiver file adapter.  In SXMB_MONI it looks correct.  If I do a view source, I can see that the quotations are the "curly quotes" and not the same as when I enter the character. 
    Best Regards,
    Duke

  • Why does Firefox have trouble displaying certain Unicode Plane 1 characters (specifically, Phoenician)?

    Hi. I'm trying to get Firefox to display characters from ancient scripts. I have installed all the necessary fonts, and changed the encoding to Unicode. When I try to view Phoenician and Imperial Aramaic characters (other scripts too), I just get boxes with numbers (10900 and so forth). I have a laptop that is able to display these characters but I need to be able to see them on my current system.

    Try installing the font "aegean".
    You can find the font here
    http://www.fonts2u.com/download/aegean.font
    By the way, have you read
    http://en.wikipedia.org/wiki/Help:Special_characters
    ?

  • Problem in displaying Japanese characters on the browser.

    Hi Friends,
    Hope one of you could help me in this!!
    We are using SHIFT_JIS character encoding in our jsps to display Japanese characters.
    <%@ page contentType="text/html; charset=SHIFT_JIS" %>
    Is there any other configuration required on server side to let the Japanese characters being displayed? Because what I am getting on screen is quite annoying. Well something like below.
    ?V?M???????�
    Even though my knowledge in Japs isn't too good :-)) I can understand that these are not Japanese. I believe I am missing something in terms of server side configuration, Can anybody point that out. (Maybe some of the Japanese developers in here).
    This could not be a client side issue, since from the same machine I can access other Japanese sites and they display properly. Let me know if anybody can help.
    I am running these in WAS 5.0
    Thanks,
    King

    Your text in the JSP should be UTF-8 nevertheless - as would be ideal
    for internationalization. Java comes with a command-line conversion tool
    native2ascii which is bidirectional.
    As non-Japanese I am not certain whether "SJIS" might not be better (there
    are some name variations in java).
    The HTML generation will translate these characters to SHIFT_JIS in your case.
    Where the target encoding cannot handle the intended character it receives a
    question mark - hat you saw.
    Furthermore you need a proper font in HTML and under Windows (window title).
    Your webserver should have east-asian support. Though Japanese (and English)
    are standard, I, as non-japanese am not certain about SHIFT_JIS.
    Also there is some freedom in choice for a japanese encoding.

  • Greek Text Not Displaying Properly (Characters being replaced with different ones)

    Hi,
    I am using Adobe Photoshop CS3. I have a spreadsheet of Greek translations. When I copy and paste the text into Photoshop, certain characters are missed out or replaced with an incorrect one. I have tried downloading fonts that support the Greek character set, but still no luck. If I paste this text into any other applications (Word, explorer etc) the text displays properly. I was wandering if there is a setting or anything in photoshop that I need to change? It seems to be an issue with this application only.
    Many thanks,

    Have you tried to set your system language to a European setting, e.g. Ireland or UK? Seems like an issue with incorrect Unicode conversion. Also turn off OpenType features for automated glyph replacement in the menu of the Character palette...
    Mylenium

  • IPod Nano not displaying Twi characters

    My iPod Nano is not displaying certain Twi characters in the lyrics section even though in the lyrics sectino of my iTunes, it is being displayed correctly. Below, I have pasted an example of the lyrics for this Twi (a Ghanaian language) song. I don't know if they will display correctly on the forum. The full lyrics can be found on this webpage: http://africathink.ghanathink.org/node/229
    Any suggestions for help?
    Lyrics:
Wai deɛ ɔsua, menim sɛ ɔsua
Nanso ɔno ara na mepɛ
Wabie biribi so akyerɛ me
Ama mereka ahyɛ a, ɛnhyɛ
    PowerBook 15.2 1.25Ghz   Mac OS X (10.4.4)  

    See this page...
    http://www.apple.com/ipod/specs.html
    From that page...
    Languages: Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Simplified Chinese, Spanish, Swedish, Traditional Chinese and Turkish
    Additional language support for display of song, album and artist information: Bulgarian, Croatian, Romanian, Serbian, Slovak, Slovenian and Ukrainian
    btabz

  • Cannot display certain french glyphs running in Chinese NT 4.0

    I have got a java application which supports english, french, german, spanish, italian languages. I have translations properties files which is loaded for the language the application is installed in(ResourceBundle, et al). I have a new requirement to allow the application to run the chinese, korean and other DBCS languages.
    The problem I face is when installing and running my application in french(or spanish).Some of the french glyphs are not getting correctly displayed in the menubar and pop up menu, while the same glyphs are displayed correctly in labels and buttons. By not getting correctly diaplyed, I mean that the particular glyph is not dispalyed at all(no garbage, rectangular boxes, etc). There are empty spaces within words. I have not done any changes to the font properties files, nor am I loading and setting fonts anywhere in the application. Also I am not setting the locale using Locale.setDefault. That means I am in the default os locale. Am I required to do some other settings to fix this problem? Below is the environment I am working in
    Os - Win NT
    Language - Traditional Chinese
    Application lang - French
    JRE 1.4.1_01
    Any help on this will be appreciated.

    Thanks for your reply.
    For point 1, I am working on a chinese NT, so the chinese fonts file MINGLIU.TTC is already installed.Also installed are the arial, courier, times,symbol and windings fonts as per the font.properties.zh file.
    For point 2, There is already a file(font.properties.zh) file in the jre\lib directory. Could you elaborate what changes should I make to the file?
    I have the internationalised version of jre 1.4.1_01 installed. The intriguing part is the french fonts are getting correctly displayed throughout the application correctly except for the menu items. There is no problem with displaying, entering chinese characters though.
    I did a small experiment and used the non internationalized JRE and surprisingly found all french characters to get correctly displayed throughout the appliacation!! The problem here came with displaying certain chinese characters. But the font properties files in both the jres(internatinalized and non internationalized) were similar.

  • The "blue bar" no longer properly displays Chinese characters.

    I recently updated my Adobe Reader from 7 to 9.4, and since doing so, Firefox no longer displays Chinese characters in the title bar. Instead, I now only see question marks.
    I've added Chinese to the preferred languages and also tried switching the browser's text to Unicode, but neither of these has made a difference.
    It's certainly a minor issue, but if anyone knows what to do, I'd greatly appreciate the help!
    Thanks!

    A possible cause is that Firefox has a problem with the (system) font that is used to display the Chinese characters on the title bar.
    Were any new fonts installed recently?
    You can try to use the system file checker to see if there are any problems with font files.
    See Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe): http://support.microsoft.com/kb/310747

  • Inhibit certain characters through forms personalization

    Hi,
    I'm trying to find out how to inhibit certain characters from being input into the invoice number field on the invoice workbench. The only acceptable characters are the following:
    0–9
    A-Z
    space
    Can anyone give me any ideas how to do this please?

    Write a function called isValid that accepts a varchar2 parameter and returns TRUE or FALSE.
    Then write a when-validate-record personalization
    Make the condition as isValid (:invoice_number) = FALSE
    And in action, display an error message.
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • Blocking certain characters

    hey, i have a these titles in my db that i want to display,
    the issue i have is some of these title contain certain characters
    that i dont want to be displayed when im outputting the query, is
    there anyway i could block or delete these charactes?
    thanks in advance for the help.

    You should approach this problem from the other end as well.
    Implement a system where those characters do not get entered in the
    first place by using some sort of validation.

Maybe you are looking for

  • Contract number not appearing in PO while converting PR into PO using ME21N

    Hi SAP MM Experts, We are having scenario as Demand PO  SOPRHub PO. We are creating demand PO for company code 1700 by setting massage type ZYT1 in that because of which SO got created through Idoc. In that SO, PR is updated. This is the Hub PR wh

  • Mts-files in Premiere elements 10

    mts-Dateien lassen sich nicht mehr in der Vorschau darstellen, man hört nur den Ton. Wenn man es trotzdem einfügt, wird auch die Datei verarbeitet, aber man kann sie eben nicht schneiden, weil man nichts sieht - echt doof Alles hatte einige Monate gu

  • Printing Low-Res in InDesign

    hi there! I'm trying to print a file directly from InDesign with lo-res settings. I'd like to use it for quick review (content only) so that images do not need to be high quality. I remember in QuarkXPress you could reduce the lpi when printing and t

  • Windows 8.1, Boot from VHD, natively

    Hi, I used this procedure http://technet.microsoft.com/en-us/library/hh825691.aspx in order to be able to boot from VHDx. I have a working VHD, booted into winpe, scratched my new Lenvos Yoga 11S (diskpart, clean), then attached the vhdx, was able to

  • In wich client ale/idoc done production or development?

    Hi i want to knwo in wich client ale/idoc done production or development , and explain wht happens in reail time                                              thanking U