Raspberry Pi Desktopで遭遇したんだけど、setlocale("en_US.UTF-8")だとUTF-8は理解するけど日本語の文字は処理対象としないとかそういう動きをするみたいで。
setlocale("C.UTF-8")なら問題なく動いてる。WSL上のUbuntuでも問題無いんだけど、ライブラリの問題かなあ。
OpenBSD(uaa@), Ham(JG1UAA), Ingress(Lv14, RES), Japanese(Sagamihara-city, Kanagawa)
Another side: https://social.tchncs.de/@uaa
npub1rarr265r9f9j6ewp960hcm7cvz9zskc7l2ykwul57e7xa60r8css7uf890
Messages from this Mastodon account can read via mostr.pub with npub1j3un8843rpuk4rvwnd7plaknf2lce58yl6qmpkqrwt3tr5k60vfqxmlq0w
Raspberry Pi Desktopで遭遇したんだけど、setlocale("en_US.UTF-8")だとUTF-8は理解するけど日本語の文字は処理対象としないとかそういう動きをするみたいで。
setlocale("C.UTF-8")なら問題なく動いてる。WSL上のUbuntuでも問題無いんだけど、ライブラリの問題かなあ。