Page 1 of 1
[Size column]: Dot vs comma
Posted: 29 Jan 2014 04:18
by binocular222
If thousand separator = "." then zero-size files look like this
Untitled20140129101651.png
missing number 0
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 13:35
by admin
Really?

Can you reproduce it with a fresh version?
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 13:41
by binocular222
::fresh
locale: Vietnamese
Bytes:
Bytes.png
KB:
KB.png
KB rounded up:
KB rounded up.png
XYplorer: 13.70.0103 (Pro Edition - Lifetime License Pro)
Loaded in: 1.741 ms at 31/01/2014 7:38:16 CH
Uptime: 4 mins, 20 secs
Memory Usage: 25.560 KB, Virtual Memory Size: 11.404 KB
OS: Windows 7 Enterprise (Service Pack 1), 32-bit (6.1)
OS Uptime: 2 days, 9 hrs, 45 mins, 3 secs
UTC Offset: +07:00
User Role: Admin
Themes: No
System Locale ID: 1066 (vi-VN)
Thread Locale ID: 1066 (vi-VN)
Default ANSI Code Page: 1258 (ANSI/OEM - Viet Nam)
Active Code Page: 1258 (ANSI/OEM - Viet Nam)
DBCS Code Page: No
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 14:10
by admin
How is it possible that nobody ever noted this? (I have found no time yet to try it myself)
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 15:42
by PeterH
Is this locale-dependent?
(here: german)
I created an empty .txt-file.
Display for Bytes is 0
Display for KB is 0,00 KB

I think just as it should be

Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 16:42
by binocular222
Yes, locale dependent.
It's perfectly fine in En-US.
Look like Hongkong traditional bug again
@Don: Congrat your 30,000th post
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 16:46
by admin
Oh, thanks!
HKTB -- I check that later...
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 18:05
by admin
Turned my system to Vietnamese, loaded Vietnamese language, but no bug. (Maybe your language file has an error?)
Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 18:57
by admin
OK, now I got it. (Needed to change all three places in Regions to Vietnamese.) Let's see if I can fix it...

Re: [Size column]: Dot vs comma
Posted: 31 Jan 2014 19:09
by admin
Got it! The default locale settings for Vietnamese are to suppress a leading 0! Weird. Is it common in Vietnam not to write 0s before decimal separators (even when there is no decimal separator!) ?
2014-01-31_190258.png
The question is now: Should XY respect these settings, or ignore them and always show the leading 0? Well, Explorer shows the 0, so I will do it too.