× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you have RPG xTools, you can do this:

xLateCCSID(usText : RusText : %size(usText) : 0 : 878)

This will translate the characters from job's EBCDIC CCSID to the Russian
Internet Cyrillic CCSID of 878. If you don't have xTools, you can call the
raw OS/400 APIs to do the conversion. 
Remember, this only translates the characters not the words/language itself.
For that you'll need a translator program.

-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Alan C
Sent: Tuesday, May 10, 2005 11:52 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Russian Text

Hi Justin,

There are others here with more experience on using the CCSID values for 
manipulating character sets, but from the question about a "lookup table 
to convert English words to Cyrrillic" characters, it sounds like a 
possible translation issue.

If the spool text is in English, then you have to separate the issues 
into two or three more: (1) translation of the text to Russian, and (2) 
the other, setting up the technical issues relating to the character 
sets, and (3) a printer that can print it.

For number (1), being as much at home in Spanish as I am in English, you 
do not want to use any such word-conversion table, and you do *not* want 
to use an automatic translation program, almost never. Although you can 
get by with a phrase-book for ordering food (sometimes), there's too 
many missed meanings in real life. I don't know if they'll ever have 
such a reasonable program. They can be useful in very limited 
circumstances.

- Alan


> I have been given a requirement to print spool text in a 
> Russian(Cyrillic) font.  Is there a way to do this is RPG?  Do I need 
> a lookup table to convert English words to Russian(Cyrillic).  We are 
> printing to an HP Laserjet 8000 series printer.  I have talked with HP 
> about getting a font loaded on the printer, that was a dead end.  I am 
> running out of options.  Any help will be well received.
>
> Thanks,
>

-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.