<DefaultFileCharset>
Section:
|
Options
|
Required:
|
No
|
Value type:
|
String
|
Default:
|
None
|
Product:
|
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
|
Description
This tag enables you to continue using legacy data that was saved with a non-Unicode character set.
Prior to 15.0, BOM files generated from CoCreate Drafting (2D BOM) or from CoCreate Modeling (Snapshot) were saved in a localized character set. If you had a pre-15.0 Unicode database, or a localized database that you migrated to Unicode, these files need to be interpreted before being sent to Creo Elements/Direct Modeling or Creo Elements/Direct Drafting.
New files are tagged as UTF-8 in a Unicode database. By default, unless a file is tagged as UTF-8, Creo Elements/Direct Model Manager uses the client locale to determine which character set to use by meta-data in the database:
• For related files associated with 2D BOM, the FILE_TYPE of WM_RELATED_FILES has an encoding appended. For example:
bom.bom/SJIS
All newly created 2D BOM files are created as
bom.bom/UTF8
• The Snapshot files have an entry in the COMMENT_DMS field of WM_FILES to indicate their encoding. For example:
SJIS
All newly created Snapshots are created as
UTF8
Any meta-data settings take precedence over the <DefaultFileCharset> tag. If the meta-data settings do not exist and this tag is not defined, then the character set for non-UTF-8 files is assumed from the current locale:
• Japanese: SJIS
• Otherwise: ISO 8859-1
If you define this tag, you specify the character set for all non-tagged files. Possible values are:
• ISO8859_1 (Europe/United States)
• SJIS (Japanese locale)
Example
This example shows a valid configuration for the tag:
<DefaultFileCharset>ISO8859_1</DefaultFileCharset>