Thread: Unrecognised characters

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    Unrecognised characters

    Is there any way that you can read/process those characters that programs like 'notepad' just replace with a black box? Is there anyway to produce these? I wouldn't imagine that this would be a difficult task, even though I havn't been able to find any information on it...

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    129
    Those black boxes are just characters that are not defined in the font-file, so dig up some characterers that aren't in the specific font file you're using and you'll get a blox or something similar...

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Those boxes are binary data that the character set can't identify, so a graphical placeholder is used. The problem with reading that data is that it could be any data type and you don't know which. So if you input binary data with fread as an integer but the data was actually a double then you'll either get incorrect or imprecise results.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. HELP!!!!emergency Problem~expert please help
    By unknowppl in forum C++ Programming
    Replies: 9
    Last Post: 08-21-2008, 06:41 PM
  3. Replies: 10
    Last Post: 07-10-2008, 03:45 PM
  4. How do you check how many characters a user has entered?
    By engstudent363 in forum C Programming
    Replies: 5
    Last Post: 04-08-2008, 06:05 AM
  5. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM