Error 198

I am having an issue running a single program in my project.  I had made some changes to the WPF screen, and in the code as well. When I compile and run my software - when I execute my software, and select the program I changed from the menu, I get the below error message. 

MicroFocus.COBOL.COBOLRuntimeException
HResult=0x80131600
Message=198 Load failure [Program has an incompatible codepage dependency
"PR450000" is using codepage Western European (Windows)
but the main program "MSIMenu.App" is using Unicode (UTF-8)
Please see documentation for more information.]

I am not sure how to fix this - both my menu and the program being called (PR45000) both have this code in my WPF Screen 

<?xml version="1.0" encoding="utf-8"?>

So I am not sure why it is saying this, and when I run any other program that is in the project - they all work correctly. 

Where is it seeing that I have the codepage set to Western Europe (Windows) ?  

I have already have performed a clean and rebuild, and this has not helped any. 

  • Verified Answer

    +1  

    Hi Amy,

    This usually occurs when the source program is saved with a different encoding. Try opening up the source code in the editor and then doing a Save As and select the arrow in the right of the Save text and select Save with Encoding and then select UTF-8 encoding. 

    Chris Glazier
    Rocket Software - Principal Technical Support Specialist
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • 0   in reply to   

    If saving the source doesn't work then you could also try setting the compiler directive SOURCE-ENCODING"UTF8" on the PR450000 source program. If you have literals stored in PIC X fields that are above X"7F" then the compiler needs to know which encoding it is supposed to use.

    Chris Glazier
    Rocket Software - Principal Technical Support Specialist
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button