<doc>
  <legacy_id>1713</legacy_id>
  <name>charSet</name>
  <type>property</type>
  <syntax>
    <example>get the charSet of <i>stack</i></example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>The System Environment</category>
    <category>Text and Data Processing</category>
  </classification>
  <references>
    <function tag="numToChar">numToChar Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Indicates whether the <glossary tag="Mac OS">Macintosh</glossary> or <glossary tag="ISO 8859">ISO 8859</glossary> <glossary tag="character set">character set</glossary> was used to enter a <glossary tag="stack">stack's</glossary> text.</summary>
  <examples>
    <example>if the charSet of this stack is "MacOS" then put "Mac" into thePlatform</example>
  </examples>
  <description>
    <p>Use the <b>charSet</b> <glossary tag="property">property</glossary> to determine which <function tag="platform">platform</function> the <object tag="stack">stack</object> was last saved on.</p><p/><p><b>Value:</b></p><p>The <b>charSet</b> of a <object tag="stack">stack</object> is "MacOS" or "ISO".</p><p/><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>If the <b>charSet</b> is "MacOS", the <object tag="stack">stack</object> was last saved on a <glossary tag="Mac OS">Mac OS system</glossary>; if the <b>charSet</b> is "ISO", the <object tag="stack">stack</object> was last saved on a <glossary tag="Unix">Unix</glossary> or <glossary tag="Windows">Windows system</glossary>.</p><p/><p>When you open a stack on a Mac OS system that was last saved on a Unix or Windows system (or vice versa), the text in the stack is translated automatically to the appropriate character set. The process can take a perceptible amount of time, so it's a good idea to save a stack destined for a particular platform on that platform before delivering it to users.</p><p/><p>The <b>charSet</b> <glossary tag="property">property</glossary> is changed for all <function tag="stacks">stacks</function> in the same <glossary tag="stack file">stack file</glossary> when the <glossary tag="stack file">stack file</glossary> is saved, so it is not possible for two <function tag="stacks">stacks</function> in the same file to have a different <b>charSet</b>.</p>
  </description>
</doc>