|
A minor point but while OS/400 does come standard with several thousand code page to code page conversions, that is not quite the same as "any" to "any". You may find, for instance, iconv not liking Greek (423) to Vietnamese (1130). You could do such a conversion using iconv with Unicode as an intermediate step (423 to 13488 to 1130) but that does mean an extra step (and lots of potential for data loss if there really are Greek characters in the original data stream as you don't find too many Greek characters in the Vietnamese code page). For sure using an API like iconv or CDRCVRT is more flexible than using some of the older table conversion approaches. Bruce > The ICONV api is extremely fast and easy to use. > You can convert from any code page to any code page. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.