saxon:string-to-utf8
Returns the UTF-8 encoding of a string.
string-to-utf8($name as xs:string) ➔ xs:integer*
Arguments | |||
| $name | xs:string | The input string |
Result | xs:integer* |
Namespace
http://saxon.sf.net/
Notes on the Saxon implementation
Available since Saxon 8.1.
Details
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.