saxonica.com

saxon:string-to-utf8()

saxon:string-to-utf8($in as xs:string) ==> xs:integer*

This function takes a string as input, and returns a sequence of integers representing the octets in the UTF8 encoding of the string. The integers are all in the range 0-255.

Next