> +typedef unsigned char char8_t; could / should this check CHAR_BIT == 8 before defining? sure, true on all netbsd platforms today and likely for the future, but just in case? i like how there's a lot of tests that someone else wrote :) .mrg.