eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CharacterEncoderImplementations::JIS0208_to_SJIS':

Home

everywhere
www.exept.de
for:
[back]

Class: JIS0208_to_SJIS (in CharacterEncoderImplementations)


Inheritance:

   Object
   |
   +--CharacterEncoder
      |
      +--CharacterEncoderImplementations::TwoByteEncoder
         |
         +--CharacterEncoderImplementations::JIS0208_to_SJIS

Package:
stx:libbasic
Category:
Collections-Text-Encodings
Version:
rev: 1.12 date: 2009/11/05 16:26:27
user: stefan
file: Encoder_SJIS.st directory: libbasic
module: stx stc-classLibrary: libbasic

Class protocol:

mapping
o  mapFileURL1_relativePathName

queries
o  nameOfDecodedCode
I encode sjis into jis


Instance protocol:

encoding & decoding
o  decodeString: aString
return a new JIS-Encoded-String containing the characters from aString,
which are interpreted as Shift-JIS encoded singleByte chars.
Shift-JIS is a leadyByte code, with a variable-length encoding.

o  encodeString: aJISString
return a new string with aJISStrings characters as SJIS encoded 8bit string.
The resulting string is only useful to be stored on some external file,
not for being displayed in an ST/X view.

private
o  newString: size

queries
o  nameOfEncoding



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 08:15:30 GMT