1
0
Fork
You've already forked utf8survey
0
Automated tests of UTF-8 handling in R7RS systems
  • Scheme 76.8%
  • Shell 23.2%
Find a file
2026年05月30日 10:53:19 -04:00
mesotest.scm add more CLO 2026年05月30日 10:53:19 -04:00
README.md cleanup, add more very extensive tests 2026年05月30日 10:28:51 -04:00
test.sh more tests 2026年05月17日 09:43:42 -04:00

Scheme UTF-8 Survey

This is a set of examples of UTF-8 in Scheme that test what happens when an implementation gets an invalid UTF-8 string.

This survey works by executing a battery of UTF-8 decoding tests.

Note that in R7RS, passing bad UTF-8 to utf8->string is "an error": the implementation can do anything. The tests here assume that the implementation either raises an exception or returns some valid string data.

LICENSE

© 2026 Peter McGoron

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.