clesaec commented on code in PR #1798:
URL: https://github.com/apache/avro/pull/1798#discussion_r934646444


##########
lang/c/src/schema.c:
##########
@@ -48,20 +51,25 @@ static void avro_schema_init(avro_schema_t schema, 
avro_type_t type)
 
 static int is_avro_id(const char *name)
 {
-       size_t i, len;
+    setlocale(LC_ALL, "en_US.UTF-8");

Review Comment:
   newlocale / uselocale used when possible.
   Unit test does not work with "en-US", so i keep "en_US" (at least on my 
laptop)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to