× 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.



Just something to keep in mind before you upgrade to IBM i 7.4 that the default Pase CCSID and locale changed to UTF-8 (CCSID 1208) from 819 as listed in the memo to users. This also means the Java file.encoding and default charset changed to UTF-8. Java applications with the JVM can explicitly set their preferred file.encoding several ways and the Pase default can also be reverted per job (which I struggled with) but that can add extra tedious and unnecessary tweaking. Instead, you may need to change your IFS file open() api for reading text files to include O_CCSID with 2 more parms of zeroes. Example:
Before:
"fd = open(<file>:O_RDONLY+O_TEXTDATA);"
After:
"fd = open(<file>:O_RDONLY+O_TEXTDATA+O_CCSID:0:0);"

The two zeroes at the end are required. The first zero is unused but the second 0 means use the job CCSID.
Though you can shorten the open() parms, this does not work with UTF-8 with CCSID 1208 with a double byte character set so the O_CCSID should always be used.

Thanks,
Craig

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.