[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] libiconv
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 15:39:26 +0100
- Subject: Re: [XaraXtreme-dev] libiconv
Phil Martin wrote:
That's exactly the question that I have been thinking about too.
I've searched the code but can't find anything directly referring to it.
Not sure how to find where it's being pulled into the build.
In general: the more external libraries we pull in, the more difficult
it is to build the program and in particular to build Universal Binaries
on the Mac.
OK, it seems to me this is only being used by localenv.cpp. It uses
it for three things: returning the thousands separator, decimal
separator, and standard number of decimal places. The latter is
not very useful (it's only useful for currency), and indeed though
convert.cpp calls it, it discards the return value.
So I would like to propose converting this over to use
wxLocale::GetInfo(), which returns the former two OK, and
using the fixed value 2 (for the latter) on non-MSW platforms.
This should remove the libiconv dependency. Will this suit?
Alex