From: Рысь <lynx@sibserver.ru>
To: musl@lists.openwall.com
Cc: Rich Felker <dalias@libc.org>
Subject: Re: libintl: stubs or working functions?
Date: Tue, 17 Mar 2015 08:40:04 +0700 [thread overview]
Message-ID: <20150317084004.5cbbd4ae@r2lynx> (raw)
In-Reply-To: <20150316134156.GZ16260@port70.net>
On Mon, 16 Mar 2015 14:41:56 +0100
Szabolcs Nagy <nsz@port70.net> wrote:
> * ???????? <lynx@sibserver.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?
next prev parent reply other threads:[~2015-03-17 1:40 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-05 9:36 Рысь
2015-03-06 22:24 ` Rich Felker
2015-03-08 9:22 ` Рысь
2015-03-09 0:56 ` Rich Felker
2015-03-15 12:33 ` Рысь
2015-03-15 23:54 ` Rich Felker
2015-03-16 4:18 ` Рысь
2015-03-16 13:04 ` Szabolcs Nagy
2015-03-16 13:35 ` Szabolcs Nagy
2015-03-16 13:41 ` Szabolcs Nagy
2015-03-17 1:40 ` Рысь [this message]
2015-03-17 2:01 ` Rich Felker
2015-03-17 6:59 ` Рысь
2015-03-17 15:02 ` Szabolcs Nagy
2015-03-17 15:38 ` Rich Felker
2015-03-17 18:51 ` Wermut
2015-03-18 14:10 ` u-wsnj
2015-03-18 14:26 ` Jens Gustedt
2015-03-19 8:29 ` Justin Cormack
2015-03-19 8:55 ` Jens Gustedt
2015-03-19 12:41 ` u-wsnj
2015-03-19 17:25 ` stephen Turner
2015-03-20 1:58 ` Weldon Goree
2015-03-20 3:11 ` Rich Felker
2015-03-19 17:54 ` Rich Felker
2015-03-20 9:20 ` u-wsnj
2015-03-20 20:27 ` Rich Felker
2015-03-18 7:15 ` Рысь
2015-03-24 3:59 ` Рысь
2015-03-16 9:27 ` Szabolcs Nagy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150317084004.5cbbd4ae@r2lynx \
--to=lynx@sibserver.ru \
--cc=dalias@libc.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).