intitial checkin
authorClaus Gittinger <cg@exept.de>
Mon, 30 Jun 1997 15:40:22 +0200
changeset 541 cfa84c280ec0
parent 540 4ec91ce5fa89
child 542 161e6c1c70bd
intitial checkin
KSCEncodedString.st
UnicodeString.st
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/KSCEncodedString.st	Mon Jun 30 15:40:22 1997 +0200
@@ -0,0 +1,90 @@
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+
+TwoByteString subclass:#KSCEncodedString
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Collections-Text'
+!
+
+!KSCEncodedString class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+!
+
+documentation
+"
+    KSCEncodedString represents 16bit strings encoded in KSC.
+    This encoding is used in korea.
+    Most of you are probably not interested in those ...
+
+    [author:]
+        Claus Gittinger
+
+    [see also:]
+        JISEncodedString BIG5EncodedString GBEncodedString
+        TwoByteString String CharacterArray
+        StringCollection
+"
+
+
+
+
+! !
+
+!KSCEncodedString class methodsFor:'initialization'!
+
+initialize
+    "initialize the class - private"
+
+    self flags:(Behavior flagWords)
+
+    "
+     KSCEncodedString initialize
+    "
+
+    "Created: 30.6.1997 / 15:35:52 / cg"
+! !
+
+!KSCEncodedString methodsFor:'queries'!
+
+encoding
+    "return the strings encoding as a symbol. 
+     Here, the constant symbol #ksc is returned."
+
+    ^ #ksc
+
+    "Modified: 30.6.1997 / 15:35:23 / cg"
+! !
+
+!KSCEncodedString class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libbasic2/KSCEncodedString.st,v 1.1 1997-06-30 13:40:04 cg Exp $'
+! !
+KSCEncodedString initialize!
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UnicodeString.st	Mon Jun 30 15:40:22 1997 +0200
@@ -0,0 +1,77 @@
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+
+TwoByteString subclass:#UnicodeString
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Collections-Text'
+!
+
+!UnicodeString class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 1997 by eXept Software AG 
+	      All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+
+
+"
+!
+
+documentation
+"
+    Not yet finished - unicode support is currently being implemented.
+"
+! !
+
+!UnicodeString class methodsFor:'initialization'!
+
+initialize
+    "initialize the class - private"
+
+    self flags:(Behavior flagWords)
+
+    "
+     UnicodeString initialize
+    "
+
+    "Created: 30.6.1997 / 15:35:52 / cg"
+    "Modified: 30.6.1997 / 15:39:21 / cg"
+! !
+
+!UnicodeString methodsFor:'queries'!
+
+encoding
+    "return the strings encoding as a symbol. 
+     Here, the constant symbol #unicode is returned."
+
+    ^ #unicode
+
+    "Created: 30.6.1997 / 15:39:41 / cg"
+! !
+
+!UnicodeString class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/UnicodeString.st,v 1.1 1997-06-30 13:40:22 cg Exp $'
+! !
+UnicodeString initialize!