--- a/CharacterEncoderImplementations__SJIS.st Thu Nov 05 17:26:26 2009 +0100
+++ b/CharacterEncoderImplementations__SJIS.st Thu Nov 05 17:26:27 2009 +0100
@@ -77,7 +77,7 @@
romans := CharacterEncoderImplementations::JIS0208 romanTable.
%{
- if (__isString(aString)
+ if (__isStringLike(aString)
&& (__Class(newString) == @global(TwoByteString))) {
INT _dstIdx = 0, _srcIdx = 0;
int _sz = __intVal(sz);
@@ -339,5 +339,9 @@
!JIS0208_to_SJIS class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__SJIS.st,v 1.11 2009-01-19 13:45:40 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__SJIS.st,v 1.12 2009-11-05 16:26:27 stefan Exp $'
+!
+
+version_CVS
+ ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__SJIS.st,v 1.12 2009-11-05 16:26:27 stefan Exp $'
! !
--- a/Encoder_SJIS.st Thu Nov 05 17:26:26 2009 +0100
+++ b/Encoder_SJIS.st Thu Nov 05 17:26:27 2009 +0100
@@ -77,7 +77,7 @@
romans := CharacterEncoderImplementations::JIS0208 romanTable.
%{
- if (__isString(aString)
+ if (__isStringLike(aString)
&& (__Class(newString) == @global(TwoByteString))) {
INT _dstIdx = 0, _srcIdx = 0;
int _sz = __intVal(sz);
@@ -339,5 +339,9 @@
!JIS0208_to_SJIS class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Attic/Encoder_SJIS.st,v 1.11 2009-01-19 13:45:40 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Attic/Encoder_SJIS.st,v 1.12 2009-11-05 16:26:27 stefan Exp $'
+!
+
+version_CVS
+ ^ '$Header: /cvs/stx/stx/libbasic/Attic/Encoder_SJIS.st,v 1.12 2009-11-05 16:26:27 stefan Exp $'
! !