64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
I tried something just now. I'll upload the new beta soon.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
kuiwu_zh
- Posts: 59
- Joined: 24 May 2018 15:38
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
I'm very sorry, but I couldn't find the multi-language version of Win8.1 and I'm unable to install the German version. The Win8.1 system is too old.
I reinstalled Windows 8.1 and Windows 10 using a virtual machine and downloaded "xyplorer64_28.30.1303_beta_noinstall.zip".
Windows 8.1:
text readfile ("BAT.bat"); It still shows garbled characters.
input ("title","notes"); The title and notes cannot be displayed.
Windows 10:
text readfile ("BAT.bat"); It still shows garbled characters.
input ("title","notes"); The title and notes are displayed normally.
I modify my own code and computer system:
(1) Replace this command with a function named my_func_read_file (). The content of the function my_func_read_file () is:
First, use the command filetype () to determine whether the file is "Ascii". If it is "Ascii", then use the command readfile ("BAT.bat",,,936).
All xys files call the function my_func_read_file () to read the files.
(2) Update the computer system to Windows 10 to solve the problem of this command input ().
Thank you very much for your help.
I reinstalled Windows 8.1 and Windows 10 using a virtual machine and downloaded "xyplorer64_28.30.1303_beta_noinstall.zip".
Windows 8.1:
text readfile ("BAT.bat"); It still shows garbled characters.
input ("title","notes"); The title and notes cannot be displayed.
Windows 10:
text readfile ("BAT.bat"); It still shows garbled characters.
input ("title","notes"); The title and notes are displayed normally.
I modify my own code and computer system:
(1) Replace this command with a function named my_func_read_file (). The content of the function my_func_read_file () is:
First, use the command filetype () to determine whether the file is "Ascii". If it is "Ascii", then use the command readfile ("BAT.bat",,,936).
All xys files call the function my_func_read_file () to read the files.
(2) Update the computer system to Windows 10 to solve the problem of this command input ().
Thank you very much for your help.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
1) I changed my Win8.1 system to 936 and could reproduce the readfile() issue in both 32-bit and 64-bit XYplorer. I could also fix it in both versions (next betas).
I cannot see why you say that it worked in the 32-bit version. 
2) I could not reproduce the input() issue under any conditions in any version.
It might be a font-related problem. The colors in the dialog are incorrect (there is no white top area), which suggests that an error has occurred that has disrupted the normal flow of the code.
2) I could not reproduce the input() issue under any conditions in any version.
FAQ | XY News RSS | XY X
-
kuiwu_zh
- Posts: 59
- Joined: 24 May 2018 15:38
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
(1) I have been using the 32-bit version for many years and the command "readfile()" has always worked properly.
XYplorer is the software I use most frequently and it is very powerful.
(2) xyplorer64_full_noinstall_28.30.1300.rar. When the software starts, the interface displays abnormally. I took a screenshot.
XYplorer is the software I use most frequently and it is very powerful.
(2) xyplorer64_full_noinstall_28.30.1300.rar. When the software starts, the interface displays abnormally. I took a screenshot.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
1) Okay, then changing my German Windows to 936 does not fully emulate your Chinese Windows. I hope it will still work for you after the fix. (Upload later today)
2) Is this a new problem? Is this Windows 10?
2) Is this a new problem? Is this Windows 10?
FAQ | XY News RSS | XY X
-
kuiwu_zh
- Posts: 59
- Joined: 24 May 2018 15:38
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
(1) Thank you very much.
(2) xyplorer64_full_noinstall_28.30.1300.rar
In the Win8.1 system, the startup display is abnormal. I have already taken a screenshot.
On the Windows 10 system, it displays normally when starting up.
Because I purchased the official key for XYplorer, this issue does not affect my usage, so I didn't report it before.
(2) xyplorer64_full_noinstall_28.30.1300.rar
In the Win8.1 system, the startup display is abnormal. I have already taken a screenshot.
On the Windows 10 system, it displays normally when starting up.
Because I purchased the official key for XYplorer, this issue does not affect my usage, so I didn't report it before.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Strange, it works well on my Win8.1. I cannot explain it, but it is surely a bug in the programming language (tB) that will be fixed sooner or later.
To see the attached files, you need to log into the forum.
FAQ | XY News RSS | XY X
-
kuiwu_zh
- Posts: 59
- Joined: 24 May 2018 15:38
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
I gave up using Windows 8.1 as it was too outdated. I switched to Windows 10 instead, so the issues with the input () function and the startup interface no longer affect my work.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
I guess most users have left Windows 8.1 behind. With v28.30.1305 all your problems should be history as well.
FAQ | XY News RSS | XY X
-
thecon
- Posts: 75
- Joined: 09 Nov 2015 19:08
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
This bug report, reminded me of my own bug report in the past:
https://www.xyplorer.com/xyfc/viewtopic.php?t=29471
(International letters in text raw view seem like garbage.)
Not 100% sure that they are related though...
https://www.xyplorer.com/xyfc/viewtopic.php?t=29471
(International letters in text raw view seem like garbage.)
Not 100% sure that they are related though...
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
kuiwu_zh
- Posts: 59
- Joined: 24 May 2018 15:38
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
It can display normally now. Thank you very much.
.
.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: 64-bit version (28.30.1300), Win8.1: readfile () produces garbled characters. Thank you very much for your help.
Great, thanks for the feedback! 
FAQ | XY News RSS | XY X
XYplorer Beta Club