eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CharacterEncoderImplementations::SingleByteEncoderWithAsciiSubset':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: SingleByteEncoderWithAsciiSubset (in CharacterEncoderImplementations)


Inheritance:

   Object
   |
   +--CharacterEncoder
      |
      +--CharacterEncoderImplementations::FixedBytesEncoder
         |
         +--CharacterEncoderImplementations::SingleByteEncoder
            |
            +--CharacterEncoderImplementations::SingleByteEncoderWithAsciiSubset
               |
               +--CharacterEncoderImplementations::MS_CP1252
               |
               +--CharacterEncoderImplementations::MS_CP1258

Package:
stx:libbasic
Category:
Collections-Text-Encodings
Version:
rev: 1.2 date: 2023/10/26 13:15:44
user: cg
file: CharacterEncoderImplementations__SingleByteEncoderWithAsciiSubset.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Common abstract superclass for all single-byte encodings which have an ascii subset in 0..7F.

copyright

COPYRIGHT (c) 2023 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.

Class protocol:

queries
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.


Instance protocol:

encoding & decoding
o  decodeString: anEncodedStringOrByteCollection
given a string in my encoding, return a unicode-string for it

Usage example(s):

     CharacterEncoderImplementations::ISO8859_1 decodeString:'hello'

o  encodeString: aUnicodeString
given a string in unicode, return a string in my encoding for it



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 08 Sep 2024 02:09:04 GMT