## macOS ``` $ uname -a Darwin tessier.local 25.5.0 Darwin Kernel Version 25.5.0: Tue Jun 9 22:27:52 PDT 2026; root:xnu-12377.121.10~1/RELEASE_ARM64_T8112 arm64 $ sh sh-3.2$ cc -o wat wat.c $(ldns-config --cflags --libs) -I$(brew --prefix openssl@3)/include sh-3.2$ LC_ALL=C ./wat LC_CTYPE=C isprint(255)=0 in example.net. 300 IN TXT "a\255b" out 22 61 5c 32 35 35 62 22 <- ASCII, ok sh-3.2$ LC_ALL=en_US.UTF-8 ./wat LC_CTYPE=en_US.UTF-8 isprint(255)=1 in example.net. 300 IN TXT "a\255b" out 22 61 ff 62 22 <- raw 0xff, expected \255 ``` ## FreeBSD ``` dch@wintermute /tmp> cc -o wat wat.c -L/usr/local/lib -lcrypto -lldns -I/usr/local/include dch@wintermute /tmp> LC_ALL=en_US.UTF-8 ./wat LC_CTYPE=en_US.UTF-8 isprint(255)=0 in example.net. 300 IN TXT "a\255b" out 22 61 5c 32 35 35 62 22 <- ASCII, ok dch@wintermute /tmp> LC_ALL=C ./wat LC_CTYPE=C isprint(255)=0 in example.net. 300 IN TXT "a\255b" out 22 61 5c 32 35 35 62 22 <- ASCII, ok ```