Re: RTF-to-ASCII Conversion

From: Jeff Johnson [MVP: VB] (i.get_at_enough.spam)
Date: 06/24/04


Date: Thu, 24 Jun 2004 14:26:14 -0400


"delphis96" <delphis96@discussions.microsoft.com> wrote in message
news:342DD5AF-1776-4159-80EC-F12D3920144D@microsoft.com...

> If a RTF field is converted to ASCII text (in order to be stored in an
> Oracle database), is formatting also saved in this string (i.e. bold,
italic,
> bullets, indent, etc.)?

Your question contradicts itself, sort of. For one thing, RTF itself is
composed of nothing but ASCII characters, so I don't know exactly what you
mean by "converted to ASCII text." For another, what most of us would think
of when we hear "ASCII text" suggests NO formatting, so your question
answers itself.

If you're using a Rich Text Box and you WANT to preserve the formatting, you
need to save the TextRTF property to a character field on Oracle and then
read that data back in to the same property. However, you didn't state that
that's what you're using, so I'm having to make guesses.



Relevant Pages

  • Re: RTF-to-ASCII Conversion
    ... > If a RTF field is converted to ASCII text (in order to be stored in an Oracle database), ... but in general the answer is no - the *purpose* of such conversion ... is usually to get rid of the formatting. ...
    (microsoft.public.vb.general.discussion)
  • Re: REPORT FORM xxx TO FILE yyy ASCII (VFP6)
    ... If you want ASCII, you get ASCII. ... > 1) if I'm still designing the report, I want to MODIFY REPORT and then ... > from one of the menu pads in the Report Designer - either from Preview, ... > 2) ASCII loses all formatting, such as fonts, bold/italic, lines. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: RTF-to-ASCII Conversion
    ... Ultimately the Rich Text Boxes are used to populate a document in MS-Word which is then converted to .pdf. ... This is why the formatting is critical. ... So, I want to make sure I am clear, your suggestion/solution is to store the RTF properties in Oracle. ... > composed of nothing but ASCII characters, so I don't know exactly what you ...
    (microsoft.public.vb.general.discussion)
  • RTF-to-ASCII Conversion
    ... If a RTF field is converted to ASCII text (in order to be stored in an Oracle database), is formatting also saved in this string (i.e. bold, italic, bullets, indent, etc.)? ...
    (microsoft.public.vb.general.discussion)
  • Man page viewing problems
    ... issues (or manpages on groff) ... Formatting page, please wait.../usr/bin/groff: can't find `DESC' file ... /usr/bin/groff:fatal error: invalid device `ascii' ...
    (freebsd-questions)