Wierd txt document

This is a discussion on Wierd txt document within the Tech Board forums, part of the Community Boards category; Hey people ! Okay, I reckon this is really wierd. I made a txt document for some random program I ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    183

    Wierd txt document

    Hey people !

    Okay, I reckon this is really wierd. I made a txt document for some random program I was writing, consisting of only hex values. When the program reads the file, it reads it as expected, but if I open the document manually, it comes up with 900 of these : ㌰

    The file is hidden and encrypted if that matters. Why is this happening ?
    Cheers for your time.

    EDIT : Oh, and i'm on Windows XP Pro.

  2. #2
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,661
    If you encrypted a file, why does it surprise you that you can't read what Notepad opens?

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,604
    Use a hex editor.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    183
    There are other txt files that are encrypted, and I can read them.
    Oh, and they too consist only of hex values I might add.

    It's automatically set to trust the user I use.
    Last edited by Necrofear; 05-22-2006 at 01:52 PM.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,604
    There are other txt files that are encrypted, and I can read them.
    Oh, and they too consist only of hex values I might add.
    Perhaps it just so happens that these other encrypted text only contain values within some human readable range, e.g. ASCII. You could use some binary to text encoding to ensure that it is human readable.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Wierd **** - Order of Drawing Stuff?
    By Tonto in forum Game Programming
    Replies: 9
    Last Post: 11-09-2006, 08:56 PM
  2. editing a txt document
    By ojschubert in forum C Programming
    Replies: 6
    Last Post: 02-28-2005, 02:49 PM
  3. Document Class and Dialog Windows :: MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 11-30-2002, 11:27 PM
  4. MultiDocument And MultView (and per document) :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 04-09-2002, 09:00 AM
  5. Getting document point co-ordinates
    By swordfish in forum C++ Programming
    Replies: 2
    Last Post: 09-05-2001, 12:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21