|
Message-ID: <20150317084004.5cbbd4ae@r2lynx> Date: Tue, 17 Mar 2015 08:40:04 +0700 From: Рысь <lynx@...server.ru> To: musl@...ts.openwall.com Cc: Rich Felker <dalias@...c.org> Subject: Re: libintl: stubs or working functions? On Mon, 16 Mar 2015 14:41:56 +0100 Szabolcs Nagy <nsz@...t70.net> wrote: > * ???????? <lynx@...server.ru> [2015-03-16 11:18:46 +0700]: > > I have this test program: > > > > % cat > > dt.c #include <time.h> > > #include <stdio.h> > > > > int main(void) > > { > > char x[32]; > > struct tm *tm; > > time_t t; > > > > t = time(NULL); > > tm = localtime(&t); > > strftime(x, sizeof(x), "%x", tm); > > printf("%s\n", x); > > > > return 0; > > } > > > > i think you need to call setlocale(LC_ALL, "") Thanks! Now it worked as needed! Rich: from this point I probably do understand how to translate certain strings in C library, can you provide more info about what should be translated?
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.