mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
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.
15 lines
117 B
Plaintext
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
|