Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Mar 2002
    Location
    North Carolina, USA
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    RTF file mystery (Word 2000)

    A couple of weeks ago I was experimenting with importing a RTF file made by another program that doesn't use Unicode, but uses code pages to write characters outside of the standard ANSI set. At that time, I found I could get Word 2000 to read the RTF file with the characters intended by inserting a command fcharset in the font table.

    Today I went back to the experiment, and Word is now ignoring the fcharset command, but it isn't importing the characters as the standard ANSI set either.

    See attached file - the first text word should be "gasa" where the g has a crescent over it and the s has a tail on it. Now in Word what I get is Arabic characters instead of the "g" or "s". Any ideas why this is happening?
    Attached Files Attached Files

  2. #2
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: RTF file mystery (Word 2000)

    Hi LewisFan,

    When I open your RTF file in Word2000, I see the Turkish characters.

    The Turkish characters seem to be encoded as in the Turkish code page 1254 (
    Attached Images Attached Images

  3. #3
    Star Lounger
    Join Date
    Mar 2002
    Location
    North Carolina, USA
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: RTF file mystery (Word 2000)

    Thanks Klaus

    I've tried those options -- Word on my machine seems to be loading RTF files using the Arabic code page, regardless of what character set or code page command is in the file. And it was working normally a few weeks ago.

    Maybe I need to reinstall Word (the RTF import filter is corrupted maybe?)

    PS. Greetings fellow Arbolian.

  4. #4
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: RTF file mystery (Word 2000)

    > Maybe I need to reinstall Word (the RTF import filter is corrupted maybe?)

    If something is corrupted (which seems likely), running "Detect and Repair" from the Help menu is better at fixing it than a reinstall, in my experience.

    Wordpad, Publisher2000 and other new MS Programs showed the Turkish text fine; Word6 and Corel Draw showed characters from the Windows Code Page 1252 on my machine.

    If all text in the document has the same encoding, there would be ways to fix the encoding.

    One would be to download the add-in eefonts.exe from Microsoft. It adds an entry "Fix broken text" to the Tools menu; you can fix the encoding of selected text or the whole document by choosing the proper encoding "Turkish".

    Or you could save as HTML, and then run the macro
    ActiveDocument.ReloadAs msoEncodingTurkish

    I just replaced all occurrences of fcharset162 (= Turkish) in your RTF file with fcharset0 (so that the text used the Latin1 characters). Both methods fixed it.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Praised be Maleldil and all His works, Klaus

Posting Permissions

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