use locale

This commit is contained in:
Peter J. Holzer 2024-12-11 12:45:26 +01:00 committed by Peter J. Holzer
parent 3aee99f7f6
commit 841b95221c
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -10,6 +11,8 @@ char *cmnd;
int main(int argc, char **argv) {
int i;
setlocale(LC_ALL, "");
cmnd = argv[0];
if (argc <= 1) {