Displaying 32bit characters in 64bit Windows7


  1. Posts : 2
    Windows 7 Home Premium 64bit.
       #1

    Displaying 32bit characters in 64bit Windows7


    What must I do to have my 64bit Windows7 correctly display non-alpha numeric characters sent from a 32bit system? Example: transmitted "Don't" is received as "Don’t". Other characters produce similar 'rosary garbage.'
      My Computer


  2. Posts : 2,039
    Several, including Windows 7 x64 Ultimate
       #2

    You need the same font installed on both systems.

    Although the codes are the same, the characters those codes display vary considerably. The font interprets the codes. If you don't have the same font(s) installed you get different characters on your display.

    Regards....Mike Connor
      My Computer


  3. Posts : 2
    Windows 7 Home Premium 64bit.
    Thread Starter
       #3

    Thanks Mike.
    Something interesting happened. In the "don't" I received originally, the apostrophe showed as Ampersand+Hash mark+8217+semi colon. I had copied and pasted this sequence in yesterday's cry for help. Imagine my surprise when the copy of my text above your reply showed "Don't" twice with the apostrophe; the garbage had disappeared.
    I see you also use a 64 bit system. Which settings do you use? My problem may be solved if I use the same.
      My Computer


  4. Posts : 578
    Windows 7 Pro x64
       #4

    I don't think it has anything to do with the OS's being 32 & 64 bit. It is a font thing.
      My Computer


  5. Posts : 2,039
    Several, including Windows 7 x64 Ultimate
       #5

    It doesn't make any difference what system you use, just which fonts and software are installed.

    Obviously this forum system displays correct characters on your display. Even the special codes on my keyboards are translated correctly. I see the correct German characters for this for instance, ÄäÜüÖöß, and presumably you do too, but if you look at a system which does not have that font installed, or is not using ASCII codes, you will see something entirely different. These characters use the standard extended ASCII codes.

    The keyboards themselves use Scan Codes;

    http://en.wikipedia.org/wiki/Scancode

    If a special font were installed, then you would see whatever is contained in that font. The codes are the same, but the characters displayed are completely different, because the software interprets them differently, and generates a different display.

    An excellent example of this are "wingding" fonts;

    http://en.wikipedia.org/wiki/Wingdings

    If this font is installed, the keyboard codes will produce these symbols,



    The same codes can display different things depending on the system on which they are used.

    Here is a table of the ASCII, ( American Standard Code for Information Interchange), codes in general use.

    Ascii Table - ASCII character codes and html, octal, hex and decimal chart conversion

    You can generate the characters on screen by typing, ( or otherwise inputting),the correct code, ( as opposed to just hitting a single key on your keyboard), you can also use characters your keyboard has no keys for, simply by typing in the appropriate code.

    If you hold down the <Alt> key, and type in the two, ( or three for extended ASCII characters), digit decimal code for a character, and then release the key, then that code is sent to the system.

    Ý This is what <Alt> 237 produces. <Alt> 43 is + and <Alt> 97 is a

    This is normally referred to as "Plain Text" formatting and most systems can use it. Other formatting is specific to certain fonts or systems, and the characters and formats used can only be displayed if the system supports them.

    In order to get the same display on two separate systems, the same fonts have to be installed. If they are not, then one machine might well produce gibberish instead of the intended characters. Some programs also use special formatting, and unless you have the same system on another machine, all you will see is gibberish instead of formatted text.

    So, in order to see the same thing you typed, ( or otherwise generated), on one machine, displayed correctly on a different machine, you need to use a standard font, ( or the ASCII codes for instance and plain text), or the same software must be installed.

    Years ago, I was obliged to program some machines directly in Octal code, by pressing a set of buttons in certain combinations in order to generate the code. The display was a set of LED's and there was no keyboard.

    This system does not support any user installable fonts, but it does have some special coding setups. It can parse BBCode into HTML or XHTML for instance, add hyperlinks, and other stuff like that.

    http://en.wikipedia.org/wiki/BBCode

    When you use this in a post here, it allows special formatting. If you look at it in a simple text ( ASCII) editor, you will see the actual formatting codes and no effects, ( But many plain text editors automatically strip formatting codes, so you wont see them if you copy and paste!). If you look at it on a system like this that supports it, then you see the actual effects it produces, Like this for instance.

    The actual BBCode required to produce that is;




    The relative commands for this are here;



    These commands allow special effects and formatting.

    There are many such fonts, formats, and ways of achieving them.

    The actual fonts available on this system are;

    Arial
    Arial Black
    Book Antiqua
    Century Gothic
    Courier New
    Tahoma
    Verdana


    But if you copy and paste that into a plain text editor then you will get this;



    What you actually see on your display is also dependent on the font installed in that editor.

    Regards....Mike Connor
    Last edited by Mike Connor; 17 Apr 2011 at 08:49.
      My Computer


  6. Posts : 2,039
    Several, including Windows 7 x64 Ultimate
       #6

    PS. Although the examples in what you originally posted look similar they are not in fact the same;

    QUOTE "Don't" is received as "Don’t".UNQUOTE

    In one case an apostrophe, ' was used, and in the other case ´ a so called backtick, also used to produce grave accents on letters, é for instance.

    These symbols use completely different codes!

    They will also produce completely different symbols on systems using other fonts.

    The apostrophe is <Alt> 39

    The backtick is <Alt> 44

    As these characters are often used for specific purposes when programming, confusing them will result in non-functioning code!

    Regards....Mike Connor
    Last edited by Mike Connor; 17 Apr 2011 at 09:38. Reason: typo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:07.
Find Us