You are not logged in.

#1 2009-06-20 17:04:06

JordyD
Member
Registered: 2009-01-23
Posts: 29

[SOLVED] gEdit can't read Windows RTFs

I'm trying to read some RTF documents that were written on a Windows machine, but when I open them, gEdit either says that it can't detect the encoding or it shows me Korean-looking characters (maybe Chinese? I wouldn't know). So I used more on the file and it looks like it was encoded with ANSI, but I don't see that as an option in the list of encoding gEdit can open. Here is what I get when opened with more:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\fswiss\fprq
2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue255;\red255\green0\blue0;}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\cf1\b\f0\fs24 01.06\par

That's just the beginning, mind you. I didn't put the whole thing in because past that it's all just the contents and the RTF formatting.

Looking at that snippet of text, what comes to my attention is 'ansicpg1252'. I saw a corresponding WINDOWS-1252 in the list of gEdit's encodings, but when I try to use it, gEdit complains that it can't open it with this encoding.

Thanks,
Jordy

Last edited by JordyD (2009-06-20 17:13:43)


"UNIX: as in certain cults it is possible to kill a process if you know its true name." --- Ken Thompson and Dennis M. Ritchie

Offline

#2 2009-06-20 17:13:15

JordyD
Member
Registered: 2009-01-23
Posts: 29

Re: [SOLVED] gEdit can't read Windows RTFs

OK, sorry, it sounds like gEdit can't open RTF files anyways, so it of course wouldn't be able to gather the file's encoding from the RTF document. Something like OpenOffice needs to be used.

I guess I'll mark this as solved.


"UNIX: as in certain cults it is possible to kill a process if you know its true name." --- Ken Thompson and Dennis M. Ritchie

Offline

#3 2009-06-20 17:18:15

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED] gEdit can't read Windows RTFs

AbiWord can open RTF files if you don't want to bother with the full OpenOffice word processor (it's rather heavy on resources).

Offline

#4 2009-06-20 17:30:44

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] gEdit can't read Windows RTFs

The wv package (which AbiWord uses) can covert RTF files with varying degrees of success.

Offline

#5 2009-06-20 17:36:02

JordyD
Member
Registered: 2009-01-23
Posts: 29

Re: [SOLVED] gEdit can't read Windows RTFs

Trent wrote:

AbiWord can open RTF files if you don't want to bother with the full OpenOffice word processor (it's rather heavy on resources).

Although I don't like how heavy OO can be, I've always had more success with it. Plus, I have plenty of resources, so I'll be fine.


"UNIX: as in certain cults it is possible to kill a process if you know its true name." --- Ken Thompson and Dennis M. Ritchie

Offline

#6 2009-06-20 17:36:51

JordyD
Member
Registered: 2009-01-23
Posts: 29

Re: [SOLVED] gEdit can't read Windows RTFs

skottish wrote:

The wv package (which AbiWord uses) can covert RTF files with varying degrees of success.

I need it to stay in RTF format, as that will be the format my teacher will be expecting.


"UNIX: as in certain cults it is possible to kill a process if you know its true name." --- Ken Thompson and Dennis M. Ritchie

Offline

#7 2009-06-20 17:38:42

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] gEdit can't read Windows RTFs

JordyD wrote:
skottish wrote:

The wv package (which AbiWord uses) can covert RTF files with varying degrees of success.

I need it to stay in RTF format, as that will be the format my teacher will be expecting.

That's what wvRTF is for smile.

Offline

#8 2009-06-20 17:41:05

JordyD
Member
Registered: 2009-01-23
Posts: 29

Re: [SOLVED] gEdit can't read Windows RTFs

skottish wrote:
JordyD wrote:
skottish wrote:

The wv package (which AbiWord uses) can covert RTF files with varying degrees of success.

I need it to stay in RTF format, as that will be the format my teacher will be expecting.

That's what wvRTF is for smile.

Oh, I guess I misunderstood your post. smile I thought it was only one-way.
But in any case, I'll be using OpenOffice anyways, for reasons stated above.


"UNIX: as in certain cults it is possible to kill a process if you know its true name." --- Ken Thompson and Dennis M. Ritchie

Offline

Board footer

Powered by FluxBB