Results 1 to 7 of 7

Thread: DOS Ascii TXT files (7bit to 8bit conversion)

  1. #1

    Thread Starter
    Hyperactive Member Jareware's Avatar
    Join Date
    Nov 2000
    Location
    Silicon Valley, CA
    Posts
    275
    I'm having a bit of a problem, maybe you can help...

    Do you happen to know what would be the best way to convert a whole bunch of old 7bit DOS TXT files to 8bit files so they could be used in windows. The problem is not that the whole file would be inaccessible, most of the text comes out fine. It's just that there are a few scandinavian special characters (a with dots and o with dots) used and they come out as " and ' or something like those. They are (atleast in MS Word) indistinguishable from double and single quotation marks so FIND and REPLACE won't work. Some kind of conversion is necessary, I suppose (not that familiar with the subject).

    This is pretty urgent, any help would be GREATLY appreciated.


    -JR-

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I think you can specifically open a file as a DOS text file and it will preserve the 7bit characters.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Hyperactive Member Jareware's Avatar
    Join Date
    Nov 2000
    Location
    Silicon Valley, CA
    Posts
    275
    That's what I thought too, and I think it WAS that way with Word 98 or so, but with 2000, no. They have downgraded the functionality. It's a long story but I'm running out of time with this project. Do you know any other way?


    -JR-

  4. #4
    Junior Member
    Join Date
    Dec 2000
    Posts
    28
    If there are special characters (ÖÄÜ) used in the files, they ARE 8 bit, I believe (btw, that's German). These characters are above 127. Could be ASCII versus ANSI?
    If you feel like mailing an example to me, I might come up with a conversion to s.th useable...

  5. #5

    Thread Starter
    Hyperactive Member Jareware's Avatar
    Join Date
    Nov 2000
    Location
    Silicon Valley, CA
    Posts
    275
    Yes, thank you very much, I certainly will.

    Just a sec... It's actually not German, but Scandinavian. I think the story goes like this. In 7bit charset there was no place for ä or ö, so they replaced a few of the most uncommonly used characters with those, so they could fit them in. Now that's causing the problems. But I'll mail you a sample. It's in finnish so it might seem a little strange.


    -JR-

  6. #6
    Junior Member
    Join Date
    Dec 2000
    Posts
    28
    you got my mail yet? my mailserver sometimes screws up...

  7. #7

    Thread Starter
    Hyperactive Member Jareware's Avatar
    Join Date
    Nov 2000
    Location
    Silicon Valley, CA
    Posts
    275
    Oh yes, just got it (haven't had time for email lately), I'll check it out right away. I'll probably reply to your email rather than to this message


    -JR-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width