Commit 662e8661 authored by Niels Möller's avatar Niels Möller
Browse files

Use setlocale()

Rev: src/lsh.c:1.2
parent 2a476d30
......@@ -29,6 +29,10 @@ int main(int argc, char **argv)
int option;
struct sockaddr_in remote;
/* For filtering messages. Could perhaps also be used when converting
* strings to and from UTF8. */
setlocale(LC_CTYPE, "");
while((option = getopt(argc, argv, "dp:q")) != -1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment