Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: Class ZSTRING

This library cluster has 40 classes.

ECF: base.ecf

Source code: directory list

An implementation of a memory compact string with the same unicode character range as the base class STRING_32 and conforming to STRING_GENERAL. ZSTRING is an alias for the actual class name EL_ZSTRING. EL_ZSTRING has many additional routines not found in STRING_32, as for example: Python like tuple substitution.

See Articles

Directory: library/base/text/zstring

[ . ]

. /codec

. /codec/iso

. /codec/windows

. /support

[ . ]

EL_ZSTRING

Usually referenced with the alias 'ZSTRING', this string is a memory efficient alternative to using STRING_32. When an application mainly uses characters from the ISO-8859-15 character set, the memory saving can be as much as 70%, while the execution efficiency is roughly the same as for STRING_8. For short strings the saving is much less: about 50%. ISO-8859-15 covers most Western european languages.

Further Information

Click on class link to see tests, notes and client examples.

codec

EL_SHARED_UTF_8_ZCODEC

Shared utf 8 zcodec

Further Information

Click on class link to see client examples.

EL_SHARED_ZCODEC

Defines codec to be used by class EL_ZSTRING for encoding characters in area

Further Information

Click on class link to see client examples.

EL_UTF_8_ZCODEC

Converts to and from UTF-8

EL_ZCODEC

Base class for Latin, Windows and UTF-8 codecs

Further Information

Click on class link to see client examples.

EL_ZCODEC_FACTORY

Factory for character codecs

codec/iso

EL_ISO_8859_10_ZCODEC

Codec for ISO_8859_10 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_11_ZCODEC

Codec for ISO_8859_11 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_13_ZCODEC

Codec for ISO_8859_13 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_14_ZCODEC

Codec for ISO_8859_14 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_15_ZCODEC

Codec for ISO_8859_15 automatically generated from decoder.c in VTD-XML source

Further Information

Click on class link to see client examples.

EL_ISO_8859_1_ZCODEC

Iso 8859 1 zcodec

Further Information

Click on class link to see client examples.

EL_ISO_8859_2_ZCODEC

Codec for ISO_8859_2 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_3_ZCODEC

Codec for ISO_8859_3 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_4_ZCODEC

Codec for ISO_8859_4 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_5_ZCODEC

Codec for ISO_8859_5 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_6_ZCODEC

Codec for ISO_8859_6 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_7_ZCODEC

Codec for ISO_8859_7 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_8_ZCODEC

Codec for ISO_8859_8 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_9_ZCODEC

Codec for ISO_8859_9 automatically generated from decoder.c in VTD-XML source

codec/windows

EL_WINDOWS_1250_ZCODEC

Codec for WINDOWS_1250 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1251_ZCODEC

Codec for WINDOWS_1251 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1252_ZCODEC

Codec for WINDOWS_1252 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1253_ZCODEC

Codec for WINDOWS_1253 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1254_ZCODEC

Codec for WINDOWS_1254 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1255_ZCODEC

Codec for WINDOWS_1255 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1256_ZCODEC

Codec for WINDOWS_1256 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1257_ZCODEC

Codec for WINDOWS_1257 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1258_ZCODEC

Codec for WINDOWS_1258 automatically generated from decoder.c in VTD-XML source

support

EL_EXTENDABLE_UNENCODED_CHARACTERS

Extendable unencoded characters

EL_READABLE_ZSTRING

Read only interface to class EL_ZSTRING

Further Information

Click on class link to see tests and client examples.

EL_STRING_8

String 8

EL_UNENCODED_CHARACTERS

Representation of consecutive substrings in a STRING_32 string that could not be encoded using a latin character set. The substring are held in the array unecoded: SPECIAL [CHARACTER_32] Each substring is prececded by two 32 bit characters representing the lower and upper index.

EL_UNENCODED_CHARACTERS_INDEX

Fast lookup of code in unencoded intervals array

EL_ZCODE_CONVERSION

For use with class EL_ZSTRING which redefines {READABLE_STRING_GENERAL}.code as z_code. A z_code is a hybrid of a Latin-x or Windows-x encoding and a UCS4 encoding. (We only refer to "latin" from here on)

Occassionaly a unicode character might clash with the range 0 .. 255 reserved for latin encodings. To get around this we set the sign bit to 1 to distinguish it. We can do this because the sign bit is unused in UCS4 unicode.

EL_ZSTRING_APPEND_ROUTINES

Routines for appending and prepending expanded types

EL_ZSTRING_CONVERTER

Convenience class for converting any string of type READABLE_STRING_GENERAL to type EL_ZSTRING

EL_ZSTRING_IMPLEMENTATION

Zstring implementation

EL_ZSTRING_SEARCHER

Zstring searcher

EL_ZSTRING_UNESCAPER

Z-code escape table for use with class EL_ZSTRING. See routine escape.

Further Information

Click on class link to see client examples.