text document problem

Discussion in 'OT Technology' started by KenIIDX, Oct 21, 2008.

  1. KenIIDX

    KenIIDX New Member

    Joined:
    Nov 9, 2004
    Messages:
    16,943
    Likes Received:
    0
    So my friend has an 89kb text document he edits with wordpad. All was fine up until today when he went to open it and all he sees now is this:

    [​IMG]

    i looked around the interwebz and found some info about why this might be happening but nothing definitive and nothing that really helps.

    this problem has always perplexed me though usually i've been able to find ways around it but atm i'm stumped.

    from what i have gathered, text encoding got messed up. is there any way to fix this or get back what was converted into those box symbols?

    :hsd:
     
  2. CodeX

    CodeX Guest

    Open it in a hex editor...

    Did he create this file? Those square characters occur when the data in the file is not in the ASCII character range
     
  3. KenIIDX

    KenIIDX New Member

    Joined:
    Nov 9, 2004
    Messages:
    16,943
    Likes Received:
    0
    yeah he created it and has been opening it and editing it for the past couple of months and finally today he ran into this problem after doing nothing differently....
     
  4. KenIIDX

    KenIIDX New Member

    Joined:
    Nov 9, 2004
    Messages:
    16,943
    Likes Received:
    0
    no hex for home :hs:
     
  5. doubledave

    doubledave New Member

    Joined:
    Jun 28, 2008
    Messages:
    34
    Likes Received:
    0
    Try changing fonts or opening in notepad. If that doesn't work, it must have gotten corrupted, which you would definitely be able to tell in a hex editor. Avoid wordpad at all costs.
    Ultraedit 32 is a good text and hex editor program; it comes with a shareware free trial.
     
  6. KenIIDX

    KenIIDX New Member

    Joined:
    Nov 9, 2004
    Messages:
    16,943
    Likes Received:
    0
    thanks I'll check that out tomorrow.

    yeah what I originally figured was it got corrupted somehow :hs:
     
  7. nucklearknight

    nucklearknight New Member

    Joined:
    Sep 21, 2008
    Messages:
    367
    Likes Received:
    0
    Location:
    San Francisco, California
    Avoid wordpad in this situation or in all situations when typing?
     
  8. White Stormy

    White Stormy Take that, subspace!

    Joined:
    Sep 17, 2002
    Messages:
    85,489
    Likes Received:
    70
    Location:
    Sparkopolis
    Wordpad is fine. Avoid Notepad.

    if you're looking for a better text editor, try Notepad++
     
  9. nucklearknight

    nucklearknight New Member

    Joined:
    Sep 21, 2008
    Messages:
    367
    Likes Received:
    0
    Location:
    San Francisco, California
    I have word but I use NotePad to type out HTML sometimes. Why should I avoid it?
     
  10. critter783

    critter783 OT Supporter

    Joined:
    Jul 15, 2005
    Messages:
    1,785
    Likes Received:
    0
    I would avoid it just on the principle that it offers you no useful functionality aside from the very basic ability to edit a simple text file.
    I'll cast another vote for Notepad++. Its like Notepad on steroids. It gives you syntax highlighting, code folding, and all kinds of nice features, and its a really lightweight app. I use it just like you would use Notepad.
     
  11. wabash9000

    wabash9000 Active Member

    Joined:
    Dec 27, 2006
    Messages:
    14,392
    Likes Received:
    0
    Location:
    Overland Park, KS
    I wish it was posiible to put notepad++ in place of the normal notepad. I'll throw in another vote for notepad++.
     
  12. critter783

    critter783 OT Supporter

    Joined:
    Jul 15, 2005
    Messages:
    1,785
    Likes Received:
    0
    You can. It just involves replacing the notepad.exe with notepad++ executable. I think there are more detailed instructions on the np++ website.
     
  13. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    573
    Why is this a bad thing? It's not like it claims to be anything more than that. Editing a text file is exactly what it's supposed to do, and it works 100% as advertised.
     
  14. nucklearknight

    nucklearknight New Member

    Joined:
    Sep 21, 2008
    Messages:
    367
    Likes Received:
    0
    Location:
    San Francisco, California
    Just got Notepad++ and I haven't even really used it and I already like it.
     
  15. critter783

    critter783 OT Supporter

    Joined:
    Jul 15, 2005
    Messages:
    1,785
    Likes Received:
    0
    I guess its not necessarily a bad thing, but I found that with a little bit of effort up-front, I can use a text editor that's got a much richer set of features.
    My personal opinion is that MS should include a text editor with more features in their OS releases. I'm not really interested in debating the merits of the stock text editor though.
     
  16. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    573
    They do. It's called wordpad.
     
  17. trouphaz

    trouphaz New Member

    Joined:
    Sep 22, 2003
    Messages:
    2,666
    Likes Received:
    0
    lol
     
  18. critter783

    critter783 OT Supporter

    Joined:
    Jul 15, 2005
    Messages:
    1,785
    Likes Received:
    0
    Yeah but that one is mostly featureless too.
     
  19. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    573
    So what you want is for them to give you MS Word as a free OS component. :hsugh:
     
  20. nucklearknight

    nucklearknight New Member

    Joined:
    Sep 21, 2008
    Messages:
    367
    Likes Received:
    0
    Location:
    San Francisco, California
    Don't they include Microsoft Works? Isn't that a free version of Microsoft Word?
     
  21. critter783

    critter783 OT Supporter

    Joined:
    Jul 15, 2005
    Messages:
    1,785
    Likes Received:
    0
    :ugh2: Word doesn't have the features I want either. I want them to flesh out the capabilities of notepad as a script/code/markup language editor. Give it syntax highlighting support for some languages, some regular expression searching, some basic stuff like that.
     
  22. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    573
    Oh, so what you really want is vi.

    Here you go: http://www.vim.org/download.php
     
  23. critter783

    critter783 OT Supporter

    Joined:
    Jul 15, 2005
    Messages:
    1,785
    Likes Received:
    0
    Man, you've got a half-answer for everything, don't you? I already use Notepad++, I was just commenting that it would be nice if Microsoft would include a text editor similar to vim or np++ with their OS, considering how common those utilities are.
     
  24. White Stormy

    White Stormy Take that, subspace!

    Joined:
    Sep 17, 2002
    Messages:
    85,489
    Likes Received:
    70
    Location:
    Sparkopolis
    well just for html I guess it's ok, but notepad won't show any hidden characters, so if you opened someone else's file there could actually be whole rows of characters that notepad won't show at all. and notepad will only load files up to a certain size.

    also, there's something about *nix/windows encoding that wordpad does better
     
  25. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    573
    They include a plain text editor. They include a text editor with more features. If that's not good enough, then download something else. And since you already have, you're bitching just to bitch. No OS is going to include everything that's exactly what you want out of the box. That's why there are other utilities that you can get.
     

Share This Page