|
Got a question. Does anyone have experience with code pages & stream files? I'm working some on generating HTML files & XML generated by the parser but having some difficulty. Everything looks fine on the 400: The stream file is CCSID 65535 (I've tried many different code pages…) <?xml version="1.0" ?> <]DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <HTML> <HEAD> <title>QRPGLESRC KR0058CMP</title> </HEAD> When I open the stream file in notepad (or web browser) I get this garbage: Lo§”“@¥…™¢‰–•~ñKð@on %LZÄÖÃãè×Å@ˆ£”“@×äÂÓÉÃ@`aaæóÃaaÄãÄ@çÈãÔÓ@ñKð@⣙‰ƒ£aaÅÕ@ˆ££—zaa¦¦¦K¦óK–™‡aãÙa§ˆ£”“ñaÄãÄa§ˆ£”“ñ`¢£™‰ƒ£K„£„n %LÈãÔÓn %LÈÅÁÄn %L£‰£“…nØÙ×ÇÓÅâÙÃ@ÒÙððõøÃÔ×La£‰£“…n %LaÈÅÁÄn So I'm at a loss here. Maybe one of you can tell me what I'm doing wrong here. I'd like to use UTF-8 for the output (not even sure what the code page would be). I've been digging around & haven't come across the magic bullet yet. Heck I can't even find a good reference to what code page numbers are what encoding... Thanks, Tommy Holden
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.