forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcharSet.lcdoc
More file actions
51 lines (35 loc) · 1.56 KB
/
Copy pathcharSet.lcdoc
File metadata and controls
51 lines (35 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name: charSet
Type: property
Syntax: get the charSet of <stack>
Summary:
Indicates whether the <Mac OS|Macintosh> or <ISO 8859> <character set>
was used to enter a <stack|stack's> text.
Associations: stack
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
if the charSet of this stack is "MacOS" then put "Mac" into thePlatform
Value:
The <charSet> of a <stack> is "MacOS" or "ISO".
This property is read-only and cannot be set.
Description:
Use the <charSet> <property> to determine which <platform> the <stack>
was last saved on.
If the <charSet> is "MacOS", the <stack> was last saved on a <Mac OS|Mac
OS system>; if the <charSet> is "ISO", the <stack> was last saved on a
<Unix> or <Windows|Windows system>.
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.
The <charSet> <property> is changed for all <stacks> in the same
<stack file> when the <stack file> is saved, so it is not possible for two
<stacks> in the same file to have a different <charSet>.
References: numToChar (function), stacks (function), platform (function),
property (glossary), stack file (glossary), Windows (glossary),
character set (glossary), Mac OS (glossary), Unix (glossary),
ISO 8859 (glossary), stack (object)
Tags: text processing