Special characters not appearing when using the PDFSpoolFileService to convert spool files into a PDF document

Date:6 January 2006
Product/Release:LANSA Integrator
Abstract:Special characters not appearing when using the PDFSpoolFileService to convert spool files into a PDF document.
Submitted By:LANSA Technical Support

Description:

When using the PDFSpoolFileService to read and convert a spool file from the iSeries, certain characters are not getting translated properly. For instance characters such as é à è.

Solution:

You need to use ENCODING (Cp850) on the CREATE command, ie CREATE DOCUMENT ( ... ) .... ENCODING ( Cp850 ). Refer to the LANSA Integrator guide for the section titled CREATE for details on specifying an encoding value.

Various additional information:

The PDFSpoolFileService uses IBM Java Toolkit which uses Host Print Transform.

When Host Print Transform converts from EBCDIC to ASCII it uses ASCII code page 850.

Alternative character sets and code pages for printer output considerations

Specify 850 as the Printer Character Set Selection.

This document provides instructions for using your own translation table for converting USA/Canada EBCDIC Code Page 37 to ASCII Code Page 850 when using Host Print Transform (HPT).

This is done by retrieving and modifying a Workstation Customization Table (WSCST) and changing the values in the Overriding the Default ASCII Code Page (DFTASCP) and EBCDIC-to-ASCII Table Entry (EBCASCTBLE) tags.

MS Windows uses codepage 1252.

MS DOS under windows uses codepage 850. https://msdn.microsoft.com/en-us/library/cc195064.aspx