On 9/17/2009 5:52:59 PM, Christian Ziemski wrote:
>
> Space as thousands separator? I've never
> heard about that.
Space is used as thousands separator for example in Finland, Sweden, Norway, France, Canada (French), Estonia, Hungary, Poland and Russia.
There are other separator used, too. For example in Switzerland they use single quote ('). Maybe that should be handled, too.
You can check the different formats used in different regions for example from Windows Control Panel, at Regional and Language Options.
>
>> Anyway, I fixed it by adding one line in compdir.vdm to
>> delete these characters.
>
> Delete?
> Wouldn't it be better to replace by
> another character?
Compdir.vdm removes the thousands separator in any case (maybe because it needs to convert the file size into numeric value).
But perhaps it would be more logical to convert the separator first into '.', so that the format would be same as for example in Germany.
I tried this, and both methods work equally well.
>
> BTW: in 2006 I published a patch for
> COMPDIR.VDM fixing a problem with long
> pathnames:
> http://webboard.vedit.com/read?22601,41
>
> The 2006's macro is available here:
> http://www.ziemski.net/vedit/macros/comp
> dir.vdm
Yeah, I noticed that problem soon after fixing the thousands separator. The command line becomes too long quite easily, since there are two pathnames given in the command.
--
Pauli
|
|