From f2fbe93b3586be3ddc2d3f9acb5d4543231f0f0d Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 13 May 2025 23:19:57 -0400 Subject: [PATCH] remove locale code (no longer being set from the process runtime), specified in the build flags --- demo.str_cache.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/demo.str_cache.c b/demo.str_cache.c index 2959dec..cc8b44b 100644 --- a/demo.str_cache.c +++ b/demo.str_cache.c @@ -143,12 +143,6 @@ struct Str8 { // String iterals in C include null-terminators, we aren't interested in preserving that. #define lit(string_literal) (Str8){ string_literal, size_of(string_literal) - 1 } -/* -We'll want all of our textual process to operate with UTF-8 code pages: -*/ -#include -inline void set_utf8_codepage() { setlocale(LC_ALL, ".UTF-8"); } - // For now this string can visualized using a debugger. #ifdef DEMO__STR_SLICE int main()