Hi Martin,
Changing my patch to correctly handle described situation won't be a
problem. I implemented summing in a way that ignores currency symbols
solely because it's placement (before or after the amount) is
locale-specific. For example, the symbol of Polish Zloty is placed
after the amount, while USD symbol is placed before it. I don't think
it's good idea to limit support of currency symbols only to USD.
The solution you proposed seems reasonable to me - I will implement it
and send new patch, but I think the ultimate solution to this issue
would be to give the user ability to indicate the location of currency
symbol. Such solution would require more coding work, but can be
implemented without loss of compatibility.
I will do some more research on this matter.
-- Regards, RafalReceived on Mon Apr 25 17:09:34 2011
This archive was generated by hypermail 2.1.8 : Mon Apr 25 2011 - 17:09:35 CEST