[Size column]: Dot vs comma

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

[Size column]: Dot vs comma

Post by binocular222 »

If thousand separator = "." then zero-size files look like this
Untitled20140129101651.png
missing number 0
To see the attached files, you need to log into the forum.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 67322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Size column]: Dot vs comma

Post by admin »

Really? :shock: Can you reproduce it with a fresh version?

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: [Size column]: Dot vs comma

Post 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
To see the attached files, you need to log into the forum.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 67322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Size column]: Dot vs comma

Post by admin »

How is it possible that nobody ever noted this? (I have found no time yet to try it myself)

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: [Size column]: Dot vs comma

Post 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

:arrow: I think just as it should be :D

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: [Size column]: Dot vs comma

Post by binocular222 »

Yes, locale dependent.
It's perfectly fine in En-US.
Look like Hongkong traditional bug again

@Don: Congrat your 30,000th post
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 67322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Size column]: Dot vs comma

Post by admin »

Oh, thanks! :beer:

HKTB -- I check that later...

admin
Site Admin
Posts: 67322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Size column]: Dot vs comma

Post by admin »

Turned my system to Vietnamese, loaded Vietnamese language, but no bug. (Maybe your language file has an error?)
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Size column]: Dot vs comma

Post 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... :twisted:

admin
Site Admin
Posts: 67322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Size column]: Dot vs comma

Post 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.
To see the attached files, you need to log into the forum.

Post Reply