T.R | Title | User | Personal Name | Date | Lines |
---|
877.1 | What does 7->8 bit conversion do..?? | TAV02::CHAIM | Semper ubi Sub ubi ..... | Wed Jun 17 1992 11:46 | 17 |
|
>
> This application uses a long report which comes from some external
> source as a text file in 7 bit format. This file is first converted
> to 8 bit, then again converted to WPS-PLUS. Then it is mailed to
> various recipients.
>
Could you pleae be a little more specific as to what your 7-bit to 8-bit
conversion does?
Normally, the standard ASCII characters resides in the 7-bit range, and the
8-bit range contain MCS or Supplemental characters.
Thanks,
Cb.
|
877.2 | Use a new Handling type | IOSG::NEWLAND | Richard Newland, IOSG, REO1-D/4A | Wed Jun 17 1992 14:25 | 21 |
| The 7-bit format file could be treated as a Foreign format file. You could
then create a new handling type with PRINT and READ special functions to
convert the 7-bit format file during a Print or Read operation. When the
7-bit format file is imported into ALL-IN-1 it's handling should set to the
new type. All Print and Read operations on this document will then use the
defined functions to convert the file. When this document is mailed it
should be attached to a normal mail message.
A disadvantage of doing the above is that the conversion will have to be
performed each time every recipient reads or prints the document. I would
say that it is better to perform the conversion once when the document is
being created, and therefore mail the document in a format which is easier
to process.
It's difficult to comment swithing the printer to 7-bit without knowing
much more about the printer and what 7-bit really means, i.e. only 7 data
bits are received or only 7 out 8 bits are processed.
Richard
|
877.3 | have you tried just working with the 7-bit data directly? | SKNNER::SKINNER | I'm doing my EARS | Wed Jun 17 1992 16:52 | 10 |
| I too would like to understand the importance of the 7-bit to 8-bit translation.
Normally, devices that are "set to" 8-bit, such as terminals and printers, can
handle just fine 7-bit characters. It's devices set to 7-bit that can't handle
8-bit!
So unless your 7-bit to 8-bit conversion actually does something else, it doesn't
really stike me why it's needed at all.
/Marty
|
877.4 | | SWETSC::WESTERBACK | Mimsy were the borogroves | Wed Jun 17 1992 17:25 | 14 |
| Well, the problem is that the application generates Swedish 7-bit which
uses e.g ASCII 91-93 for ���. So when shown on an 8 bit device this
comes out as [ \ ]. So it's more like mapping Swedish character set
into GL, I guess.
The conversion turned out to be a simple parsing of the file, and
replacing ASCII 91 with ASCII 196, and so on.
Richards ideas about handling type sounded OK to the customer. But
they were going to try just skipping the WPS-PLUS conversion, maybe
that will speed it up enough.
Thanks for your input,
Hans
|