541
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
|
|
12 |
|
|
13 |
"
|
|
14 |
|
1426
|
15 |
"{ Package: 'stx:libbasic2' }"
|
|
16 |
|
|
17 |
TwoByteString variableWordSubclass:#KSCEncodedString
|
541
|
18 |
instanceVariableNames:''
|
|
19 |
classVariableNames:''
|
|
20 |
poolDictionaries:''
|
|
21 |
category:'Collections-Text'
|
|
22 |
!
|
|
23 |
|
|
24 |
!KSCEncodedString class methodsFor:'documentation'!
|
|
25 |
|
|
26 |
copyright
|
|
27 |
"
|
|
28 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
29 |
All Rights Reserved
|
|
30 |
|
|
31 |
This software is furnished under a license and may be used
|
|
32 |
only in accordance with the terms of that license and with the
|
|
33 |
inclusion of the above copyright notice. This software may not
|
|
34 |
be provided or otherwise made available to, or used by, any
|
|
35 |
other person. No title to or ownership of the software is
|
|
36 |
hereby transferred.
|
|
37 |
|
|
38 |
|
|
39 |
"
|
|
40 |
!
|
|
41 |
|
|
42 |
documentation
|
|
43 |
"
|
1426
|
44 |
OBSOLETE
|
|
45 |
this class will vanish - its functionality has been replaced
|
|
46 |
by the UnicodeString classes.
|
|
47 |
|
541
|
48 |
KSCEncodedString represents 16bit strings encoded in KSC.
|
|
49 |
This encoding is used in korea.
|
|
50 |
|
|
51 |
[author:]
|
|
52 |
Claus Gittinger
|
|
53 |
|
|
54 |
[see also:]
|
|
55 |
JISEncodedString BIG5EncodedString GBEncodedString
|
|
56 |
TwoByteString String CharacterArray
|
|
57 |
StringCollection
|
|
58 |
"
|
|
59 |
! !
|
|
60 |
|
|
61 |
!KSCEncodedString class methodsFor:'initialization'!
|
|
62 |
|
|
63 |
initialize
|
|
64 |
"initialize the class - private"
|
|
65 |
|
|
66 |
self flags:(Behavior flagWords)
|
|
67 |
|
|
68 |
"
|
|
69 |
KSCEncodedString initialize
|
|
70 |
"
|
|
71 |
|
|
72 |
"Created: 30.6.1997 / 15:35:52 / cg"
|
|
73 |
! !
|
|
74 |
|
|
75 |
!KSCEncodedString methodsFor:'queries'!
|
|
76 |
|
|
77 |
encoding
|
|
78 |
"return the strings encoding as a symbol.
|
|
79 |
Here, the constant symbol #ksc is returned."
|
|
80 |
|
|
81 |
^ #ksc
|
|
82 |
|
|
83 |
"Modified: 30.6.1997 / 15:35:23 / cg"
|
|
84 |
! !
|
|
85 |
|
|
86 |
!KSCEncodedString class methodsFor:'documentation'!
|
|
87 |
|
|
88 |
version
|
1426
|
89 |
^ '$Header: /cvs/stx/stx/libbasic2/KSCEncodedString.st,v 1.2 2004-03-15 14:10:55 cg Exp $'
|
541
|
90 |
! !
|
1426
|
91 |
|
541
|
92 |
KSCEncodedString initialize!
|