@RichFelker genuinely curious why recent musl has 8-bit locale support? Easy to remove, but a bit surprised it's not C.UTF-8 only anymore.
-
-
Replying to @RichFelker
@bofh453 It's intentionally not capable of representing meaningful characters; it's just for byte-based grep, etc.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@bofh453 If you want a trivial way to compile it out, in src/internal/locale_impl.h define MB_CUR_MAX as 4.3 replies 0 retweets 0 likes -
Replying to @RichFelker
@bofh453 However note that this also fixed various issues with build scripts using grep/sed/etc. on invalid (or non-UTF-8) text files.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@richfelker ahh. makes sense. I've run into that before, and my sol'n was to loosen utf8 validation in regex, which is a bad idea in a libc.1 reply 0 retweets 0 likes
@bofh453 In the latter case, functions that depend on character encoding can't be expected to work portably.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.