use locale
This commit is contained in:
parent
3aee99f7f6
commit
841b95221c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue