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

Re: [PATCH] Don't strip Content-Type in .po files on Windows

From: Роман Донченко <dpb_at_corrigendum.ru>
Date: Wed, 15 Aug 2012 21:39:53 +0400

Philip Martin <philip.martin_at_wandisco.com> писал в своём письме Tue, 14
Aug 2012 14:51:43 +0400:

> Роман Донченко <dpb_at_corrigendum.ru> writes:
>
>> - On Windows, we only support linking with svn-win32-libintl, which is
>> hacked to disable all encoding conversions.
>
> I assume it provides bind_textdomain_codeset as a function that does
> nothing.

That is correct.

>> - Even if someone links with with his own version of libintl, it's a
>> safe bet that it will be new enough to support
>> bind_textdomain_codeset, so we can just call that.
>
> If somebody managed to use an old version I guess there would be some
> sort of
> linker failure. Build time? Run time?

Link time (it would be compile time if not for C's implicit declarations).

> If somebody managed to use their own version that did encoding
> conversions I guess that would also be OK since it would be a utf8-utf8
> no-op.

Exactly; and that's how it currently works on Linux.

Roman.
Received on 2012-08-15 19:40:28 CEST

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