[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r11797 - trunk/subversion/svnserve

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-11-15 20:09:59 CET

On Mon, 15 Nov 2004, [UTF-8] Branko ─^Libej wrote:

> Peter N. Lundblad wrote:
> >Hmmm, what's available on that platform then? I thought LC_MESSAGES was
> >part of ISO C, but I haven't got that standard. Do you have any
> >suggestions?
> >
> >
> LC_MESSAGES is POSIX. The C standard mentions LC_ALL, LC_COLLATE,

> >That was a simple one-liner:-(
> >
> >
> Yah. How about bindtextdomain("")?
I don't udnerstand. Do you mean bindtextdomain(PACKAGE_NAME, "")? I don't
know if this is portable, or even works. Or do you mean settextdomain("")?
This doesn't work, since we use dgettext in the libraries.

I wonder how libintl on Windows decides what to use if it doesn't ahve
LC_MESSAGE. If it uses, LC_ALL, maybe a hack like:
ctypeloc = setlocale(LC_CTYPE, NULL);
setlocale(LC_ALL, "C");
setlocale(LC_CTYPE, ctypeloc);

would work? Just speculating and I'd like to do this on Windows only in
that case.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 15 20:01:06 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.