Gobo Eiffel Kernel Library
Copyright (c) 2002, Eric Bezault and others
Eiffel Forum License v2 (see forum.txt)
$Date: 2005/09/23 13:22:11 $
$Revision: 1.6 $
-- Routines that ought to be in class ANY
-- (From KL_IMPORTED_ANY_ROUTINES)
-- Are the bytes in a_string a valid UTF-16 encoding?
-- 'a_string' has one byte per character.
-- Default to big endian when no BOM.
-- Can these two bytes represent ZERO WIDTH NON-BREAKING SPACE?
-- (It has to be unicode character 0xFEFF, because 0xFFFE is not a valid character.)
-- Do the two bytes first and second represent the character
-- 0xFEFF with first being the least significant byte?
-- Do the two bytes first and second represent the character
-- 0xFEFF with first being the most significant byte?
-- Is a a byte?
-- UTF16 least 10 bytes of a byte pair
-- Surrogate from high and low values
-- Surrogate from bytes
UTF-16 encoding routines