Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Section


Column
width30px

Insert excerpt
US:_icon_Important(30px)
US:_icon_Important(30px)
nopaneltrue
 


Column

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 string encoding of an EDMmodela string.

Section


Column
width30px

Insert excerpt
US:_icon_C(30px)
US:_icon_C(30px)
nopaneltrue


Column
 
Insert excerpt
US:_xc_IfcEDMruleMethod01ConvertStringEncoding
US:_xc_IfcEDMruleMethod01ConvertStringEncoding
nopaneltrue


 

...

Sample 2: Changing the default EDMdatabase String Encoding

...


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

...

Section


Column
width30px

Insert excerpt
US:_icon_C(30px)
US:_icon_C(30px)
nopaneltrue


Column
 
Insert excerpt
US:_xc_IfcEDMruleMethod01SetEDMdatabaseStringEncodingUTF8
US:_xc_IfcEDMruleMethod01SetEDMdatabaseStringEncodingUTF8
nopaneltrue

...


 

...

Sample 3: Changing the EDMmodel String Encoding

 

...

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

Section


Column
width30px

Insert excerpt
US:_icon_ImportantC(30px)
US:_icon_ImportantC(30px)
nopaneltrue
 


Column

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.

 

Section
Column
width30px

Insert excerpt
US:_icon_C(30px)xc_SetModelStringEncodingISO_LATIN_1
US:_xc_SetModelStringEncodingISO_icon_C(30px)LATIN_1
nopaneltrue

Column