Page 1 of 2
64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 08:54
by kuiwu_zh
Windows 8.1
64-bit version (28.30.1300): readfile () produces garbled characters.
32-bit version (27.20.1400): readfile () does not produce garbled characters.
File name: BAT.bat
ANSI encoding (Code Page 936)
File content:
@ECHO OFF
TITLE %~n0
CLS
ECHO.
ECHO.
ECHO 执行完毕,按任意键退出...
PAUSE > NUL
GOTO :EOF
20260630_141710.png
20260630_141725.png
20260630_141800.png
20260630_141947.png
20260630_141957.png
20260630_142015.png
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters.
Posted: 30 Jun 2026 14:59
by admin
Could you send that BAT file to support, please?
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:10
by kuiwu_zh
I've already sent it to:
support@xyplorer.com
Thank you very much for your help.
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:21
by admin
It did not arrive.
You can as well zip it and attach it to a post here.
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:28
by kuiwu_zh
Code: Select all
@ECHO OFF
TITLE %~n0
CLS
ECHO.
ECHO.
ECHO 执行完毕,按任意键退出...
PAUSE > NUL
GOTO :EOF
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:33
by admin
No, I need the file. Zip it and attach it to a post here.
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:39
by kuiwu_zh
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:48
by admin
Thanks!
Both editions, 32-bit and 64-bit, behave the same way here: It's necessary to pass the code page:
text readfile("bat.bat",,,936);
But my Windows is
not 936:
Code: Select all
System / Thread Locale ID: 1033 (en-US) / 1033 (en-US)
Default ANSI Code Page: 1252 (ANSI - Latin I)
Active ANSI Code Page: 1252 (ANSI - Latin I)
Default OEM code page: 437 (OEM - United States)
Active OEM Code Page: 437 (OEM - United States)
When you select Help | Various Information, what is shown in the above section (in 32-bit and 64-bit XYplorer)?
Sorry, you already did that! Let me think...

Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 15:56
by kuiwu_zh
Code: Select all
XYplorer: 27.20.1400 (32-bit) - Lifetime License Enterprise
Upgraded from: 25.40.0000
Startup Time: 1,057 毫秒 at 2026-06-30 21:54:33
Uptime: 4 秒 Runtime Library Version: 6.00.9815
Memory Usage: 44,196 KB, Virtual Memory Size: 22,404 KB
OS: Windows 8.1 Pro, 64-bit, Build 9600 (6.3), .NET v4.8.03761
Time Zone: 中国夏令时.dll,-571 UTC Offset: +08:00
Windows UI Language: ChineseSimplified LongPathAware: No
Themes: Yes RealSystem32: Yes User Role: User
System / Thread Locale ID: 2052 (zh-CN) / 2052 (zh-CN)
Default ANSI Code Page: 936 (ANSI/OEM - 简体中文 GBK)
Active ANSI Code Page: 936 (ANSI/OEM - 简体中文 GBK)
Default OEM code page: 936 (ANSI/OEM - 简体中文 GBK)
Active OEM Code Page: 936 (ANSI/OEM - 简体中文 GBK)
DBCS Code Page: Yes, Decimal Separator: .
Main Contents Font: 微软雅黑 9.75
Buttons & Labels Font: Segoe UI 9
Code: Select all
XYplorer: 28.30.1300 (64-bit) - 30-Day Trial Version - Day 1
Startup Time: 1,958 ms at 6/30/2026 9:55:24 PM
Uptime: 9 secs
Memory Usage: 55,620 KB, Virtual Memory Size: 32,376 KB
OS: Windows 8.1 Pro, 64-bit, Build 9600 (6.3), AMD64
Time Zone: 中国夏令时 UTC Offset: +08:00
Windows UI Language: ChineseSimplified LongPathAware: No
Themes: Yes User Role: User
System / Thread Locale ID: 2052 (zh-CN) / 2052 (zh-CN)
Default ANSI Code Page: 936 (ANSI/OEM - 简体中文 GBK)
Active ANSI Code Page: 936 (ANSI/OEM - 简体中文 GBK)
Default OEM code page: 936 (ANSI/OEM - 简体中文 GBK)
Active OEM Code Page: 936 (ANSI/OEM - 简体中文 GBK)
DBCS Code Page: Yes, Decimal Separator: .
Main Contents Font: Segoe UI 9
Buttons & Labels Font: Segoe UI 9
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 16:04
by admin
Looks almost identical. Main Contents Font: 微软雅黑 9.75 ... could that make a difference?
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 16:13
by kuiwu_zh
I've already changed it to the following content:
It's still not showing correctly.
The 32-bit version is correct.
20260630_220925.png
20260630_220941.png
20260630_220951.png
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 16:19
by admin
Currently out of ideas.
It works with text readfile("bat.bat",,,936);, right?
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 16:26
by kuiwu_zh
After adding the parameter "936", it shows correctly.
Because I have a lot of xys files (over a hundred), I need to modify the commands one by one.
I think users in other countries might encounter similar issues.
Will you continue to maintain the 32-bit version? For example, if new features are added to the 64-bit version, will they also be added to the 32-bit version?
If you keep maintaining the 32-bit version, I’ll just stick with the 32-bit version. Because for the two issues I reported, the 32-bit version works fine.
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 16:33
by admin
kuiwu_zh wrote: ↑30 Jun 2026 16:26
Will you continue to maintain the 32-bit version? For example, if new features are added to the 64-bit version, will they also be added to the 32-bit version?
No, the 32-bit version will more and more fall behind.
I'll rather try to fix the issues in the 64-bit version.
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Posted: 30 Jun 2026 16:39
by kuiwu_zh
In a few days, I’ll install Win8.1 (Multilingual version) and choose German. Then I’ll see if these two issues still appear.
Thanks a lot for your help.