Gobo Eiffel Kernel Library
Copyright (c) 2001, Eric Bezault and others
Eiffel Forum License v2 (see forum.txt)
$Date: 2005/06/29 13:19:29 $
$Revision: 1.11 $
-- Routines that ought to be in class ANY
-- (From KL_IMPORTED_ANY_ROUTINES)
-- Routines that ought to be in class INTEGER
-- (From KL_IMPORTED_INTEGER_ROUTINES)
-- Routines that ought to be in class STRING
-- (From KL_IMPORTED_STRING_ROUTINES)
-- Value encoded in first byte
-- Value encoded in one of the next bytes
-- Number of bytes needed to encode character
-- c with the UTF-8 encoding
-- Number of bytes needed to encode unicode character
-- of code a_code with the UTF-8 encoding
-- Number of bytes which were necessary to encode
-- the unicode character whose first byte is a_byte
-- Number of bytes needed to encode characters of
-- a_string between start_index and end_index
-- inclusive with the UTF-8 encoding
-- Is a_byte the first byte in UTF-8 encoding?
-- Is a_byte one of the next bytes in UTF-8 encoding?
-- Is this sequence a UTF-8 Byte Order Marker (BOM)?
-- Are these characters the start of a UTF-8 encoded Byte Order Marker (BOM)?
-- Are the bytes in a_string a valid UTF-8 encoding?
-- Add UTF-8 encoded character of code a_code
-- at the end of a_utf8.
-- New STRING made up of bytes corresponding to
-- the UTF-8 representation of a_string
UTF-8 encoding routines