author | Claus Gittinger <cg@exept.de> |
Thu, 06 Sep 2007 17:31:09 +0200 | |
changeset 1894 | 8bf137acc445 |
parent 1426 | 1f5ee0a4cfe4 |
permissions | -rw-r--r-- |
543 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
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 |
||
1426 | 14 |
"{ Package: 'stx:libbasic2' }" |
15 |
||
16 |
TwoByteString variableWordSubclass:#GBEncodedString |
|
229 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Collections-Text' |
|
21 |
! |
|
22 |
||
23 |
!GBEncodedString class methodsFor:'documentation'! |
|
24 |
||
543 | 25 |
copyright |
26 |
" |
|
27 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
||
38 |
! |
|
39 |
||
229 | 40 |
documentation |
41 |
" |
|
1426 | 42 |
OBSOLETE |
43 |
this class will vanish - its functionality has been replaced |
|
44 |
by the UnicodeString classes. |
|
45 |
||
229 | 46 |
GBEncodedString represents 16bit strings encoded in GB (GuoBiao), |
47 |
(with high bit set). This encoding is Mainland China's national standard. |
|
261 | 48 |
|
49 |
[author:] |
|
50 |
Claus Gittinger |
|
51 |
||
52 |
[see also:] |
|
53 |
JISEncodedString BIG5EncodedString |
|
54 |
TwoByteString String CharacterArray |
|
55 |
StringCollection |
|
229 | 56 |
" |
57 |
! ! |
|
58 |
||
260
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
59 |
!GBEncodedString class methodsFor:'initialization'! |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
60 |
|
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
61 |
initialize |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
62 |
"initialize the class - private" |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
63 |
|
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
64 |
self flags:(Behavior flagWords) |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
65 |
|
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
66 |
" |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
67 |
GBEncodedString initialize |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
68 |
" |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
69 |
|
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
70 |
"Created: 27.4.1996 / 13:12:17 / cg" |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
71 |
! ! |
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
72 |
|
229 | 73 |
!GBEncodedString methodsFor:'queries'! |
74 |
||
75 |
encoding |
|
264 | 76 |
"return the strings encoding as a symbol. |
77 |
Here, the constant symbol #gb is returned." |
|
240 | 78 |
|
229 | 79 |
^ #gb |
80 |
||
81 |
"Created: 17.4.1996 / 15:44:26 / cg" |
|
264 | 82 |
"Modified: 27.4.1996 / 13:23:09 / cg" |
229 | 83 |
! ! |
84 |
||
85 |
!GBEncodedString class methodsFor:'documentation'! |
|
86 |
||
87 |
version |
|
1426 | 88 |
^ '$Header: /cvs/stx/stx/libbasic2/GBEncodedString.st,v 1.8 2004-03-15 14:10:53 cg Exp $' |
229 | 89 |
! ! |
1426 | 90 |
|
260
427397326fac
need explicit #initialize (due to startup optimization)
Claus Gittinger <cg@exept.de>
parents:
240
diff
changeset
|
91 |
GBEncodedString initialize! |