Date: Thu, 27 May 2010 16:36:08 -0700 From: Gary Kline <kline@thought.org> To: Polytropon <freebsd@edvax.de> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: any shortcuts to doc to ascii? Message-ID: <20100527233607.GD19297@thought.org> In-Reply-To: <20100527050302.da39c258.freebsd@edvax.de> References: <20100527013843.GA40751@thought.org> <20100527050302.da39c258.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 27, 2010 at 05:03:02AM +0200, Polytropon wrote: > On Wed, 26 May 2010 18:38:47 -0700, Gary Kline <kline@thought.org> wrote: > > > > > > guys, > > > > is there anything that can take these hex triplets such as > > > > We Don\xe2\x80\x99t > > > > and render them back to the ascii or keyboard equivalents? > > in this case, the \x99 would be an apostrophe. > > thus: > > > > > > We Don't > > > > tia, > > > > gsry > > > > ps: even lynx -dump messes up, i believe. i'm trying to go from > > DOC back to typewriter.... > > > Yes, even a typewriter is better than DOC. :-) > man, you got that right!! > To process DOC files into ASCII, there are several ways, with > different complexity: > > Most complex ones: Use OpenOffice or Abiword, open the file and > save it as ASCII. Included "special characters" should be in > regular ASCII representation now. > > Better: Use (from ports) catdoc or antiword. > i don't see any ascii suffix [for OOo]. i saved as .txt. same krap. the \x94, x9d, \x9c... same with catdoc. i'll try antiword. [forgot about that. ] > I'm not sure in how far conflicting codepages may be involved. > It is known that "Windows" does have problems supporting standards, > and this applies to character sets and language variations, too. > your words could be emblazoned in 24k gold on some Monument of Truth. i've been fighting going for mac to OOo and back... (******) thanks. gary ps: antiword same as catdoc. back to my per substitutions. that works, along with vi's Builtin subs. pps::: .... > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100527233607.GD19297>