xpxSetModelStringEncoding


 

FUNCTION xpxSetModelStringEncoding (modelId        : GENERIC;
                                    stringEncoding : INTEGER)
                                    status         : INTEGER;

This function will set the character encoding for the given model

Arguments


TypeNameComment
GENERICmodelIdModel ID
INTEGERstringEncoding

Valid inputs:
 
XPXCHAR_ENCODING_UTF_8                             
XPXCHAR_ENCODING_UTF_16               
XPXCHAR_ENCODING_ISO_10646_UCS_2      
XPXCHAR_ENCODING_ISO_10646_UCS_4      
XPXCHAR_ENCODING_ISO_8859_1           
XPXCHAR_ENCODING_ISO_8859_2           
XPXCHAR_ENCODING_ISO_8859_3           
XPXCHAR_ENCODING_ISO_8859_4           
XPXCHAR_ENCODING_ISO_8859_5          
XPXCHAR_ENCODING_ISO_8859_6
XPXCHAR_ENCODING_ISO_8859_7
XPXCHAR_ENCODING_ISO_8859_8
XPXCHAR_ENCODING_ISO_8859_9
XPXCHAR_ENCODING_ISO_2022_JP
XPXCHAR_ENCODING_SHIFT_JIS  
XPXCHAR_ENCODING_EUC_JP    

 

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


   status := xpxCreateModelBN(repositoryId, projModelName, current_datamodel_version_name, projModelId);
        IF (status <> 0) THEN
           xpxTerminate(2, 'Could not create project model');
        END_IF;
        
   status := xpxSetModelStringEncoding (projModelId,XPXCHAR_ENCODING_UTF_8);
        IF (status <> 0) THEN
           xpxTerminate(2, 'Could not set model string encoding to UTF-8');
        END_IF;

 

See also

Filter by label

There are no items with the selected labels at this time.