Files
mercury/tests/hard_coded/write_binary_utf8.exp
Julien Fischer 0a7365dd95 Add write_binary_utf8_string.
Add predicates for writing the UTF-8 encoding of strings to binary output
streams.

library/io.m:
library/io.primitives_write.m:
    Add the new predicates.

NEWS:
    Announce the additions.

tests/hard_coded/Mmakefile:
tests/hard_coded/write_binary_utf8.{m,exp}:
    Add a test of the new predicates.
2022-04-07 12:29:46 +10:00

15 lines
117 B
Plaintext

1: 0x61
2: 0xCE
3: 0xA9
4: 0xE2
5: 0x88
6: 0x80
7: 0xF0
8: 0x9D
9: 0x84
10: 0x9E
11: 0xF0
12: 0x9F
13: 0x98
14: 0x80