On Sun, 16 May 2021 20:31:13 +0400, Peter wrote:
>
>I am using XMITIP plus TXT2PDF for getting PDF and excel Files in Arabic
>(CSSMTP being used), But when the PDF or spreadsheet reaches the outlook
>email box the PDF or Spreadsheet contents are intact but the email body has
>a ARABIC in Junk format. I believe XMITIP has NLS facility to generate
>Arabic support but I dont know where to start.
>
Have you tried simply transmitting the PDF as BINARY?
What format are the spreadsheets:
o .csv?
o .xlsx?
o other (specify)?
If .csv, try:
iconv -f IBM-420 -t UTF-8 <CSV.420 >csv.utf-8
echo $?
... then transfer the converted .csv in BINARY to your desktop and open it.
>Can i use ICONV to define a new IBM-420 codepage ? If so Should i get those
>Hex values as input file to generate Code page for IBM-420 using ICONV
>
following links from https://www.lbdsoftware.com/tcpip.html
I find a downloadable txt2pdf-19.113.tar.gz. In there, I find:
1049 $ ( cd txt2pdf-19.113/ucm && cat read* && ls -lrt )
These are some sample UCM files that can be used for encoding
PDFs in other than Adobe WinAnsiEncoding. The full store of
UCMs can be found at:
http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/
total 56
-rwxr-xr-x@ 1 paulgilm staff 6342 Apr 17 2009 ibm-1047_P100-1995.ucm
-rwxr-xr-x@ 1 paulgilm staff 6326 Apr 17 2009 ibm-1025_P100-1995.ucm
-rwxr-xr-x@ 1 paulgilm staff 6342 Apr 17 2009 ibm-1026_P100-1995.ucm
-rwxr-xr-x@ 1 paulgilm staff 216 Apr 17 2009 readme.txt
The doc suggests the .ucm are for code page translation. All three bear
IBM copyright notices. Perhaps IBM can supply an ibm-420.ucm file.
The icu-project.org URL seems outdated.
The code is Rexx.
>I also understand CUNRCSM can also help to achieve the same but I never
>used it. Does anyone has experience using CUNRCSM along with XMITIP(CSSMTP)
>to use Arabic font to do ?
>
I don't know it.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN