static int initializePlatform()

in util/src/platforms/os400/platformSpecificOS400.c [359:381]


static int initializePlatform(void)
{
    char *language= "En_US";
    char langID[3] = {'E' , 'N' , 'U'};
    int jobCCSID = 37;
    
    int rc = retrieveJobCcsid(&jobCCSID, langID);
    if (rc == 0)
    {
    	// double quote character is not invariant when running 
    	// turkish ccsid (1026).  That is, the hexadecimal value
    	// of double quote is different than when running in 
    	// any other language.  So use correct double quote character.
    	if (jobCCSID == 1026)
    	{
    		strcpy(PLATFORM_DOUBLE_QUOTE_S, "\xFC");
    		PLATFORM_DOUBLE_QUOTE_C = '\xFC';
    		strcpy(PLATFORM_XML_ENTITY_REFERENCE_CHARS_S, "<>&\xFC\'");
    	}
    }

	return rc;
}