Example: Working with String Encodings

This page contains a collection of EDMInterface API samples showing how to work with encodings in EDMsix

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_Important(30px)'.
 

Changing the encoding of an EDMmodel that is already populated with string data may cause problems. This is because the existing strings will be read with a different encoding that they were written with.



Sample 1: Converting between String Encodings

This sample shows how to change the encoding of a string.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_C(30px)'.

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

 


Sample 2: Changing the default EDMdatabase String Encoding

This sample shows how to change the default string encoding of an EDMdatabase.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_C(30px)'.

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

 


Sample 3: Changing the EDMmodel String Encoding

 This sample shows how to change the string encoding of an EDMmodel.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_icon_C(30px)'.

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