Problem with previewing text files in x64 version

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: We 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.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Gido
Posts: 8
Joined: 22 Nov 2017 10:30

Problem with previewing text files in x64 version

Post by Gido »

XYplorer BETA x64 28.00.0500
Windows 10

Issue Summary:

In this version of XYplorer, plain text files using any encoding other than UTF-8 (such as general ANSI code page with national characters or the national code pages including Windows-1251) are not displayed correctly in two of the three preview methods. Converting the file to UTF-8 resolves the issue across all preview methods.

Reproduction Steps:

1. Create or obtain a plain text file (`.txt`) in a non-UTF-8 encoding (e.g., a national code page such as ANSI with extended characters or Windows-1251).

2. Open the file's containing folder in XYplorer.

3. Method 1 (Hover Tooltip):
- Hover the mouse cursor over the file name or icon.
- Observe: A tooltip popup shows a text fragment, but non-ASCII characters are mangled.

4. Method 2 (Drag Preview):
- Hover the mouse cursor over the file icon and hold the left mouse button.
- Observe: A preview window appears (distinct from the hover tooltip), but the text remains garbled.

5. Method 3 (Preview Pane):
- Click the "Show preview pane" button to enable the right-side preview panel.
- Select the file.
- Observe: The text renders correctly without encoding issues.

Additional Verification:

- Convert the same file to UTF-8 (using Notepad++).
- Repeat steps 2–5 with the UTF-8 version.
- Result: Text displays correctly in all three preview methods.

This problem did not exist in the 32-bit version.
Win10, screen scaling 125%

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

Re: Problem with previewing text files in x64 version

Post by admin »

Can you provide a test file?

Gido
Posts: 8
Joined: 22 Nov 2017 10:30

Re: Problem with previewing text files in x64 version

Post by Gido »

I was previously inaccurate when I said that "standard" ANSI was displayed correctly in the right-hand pane. I investigated this issue and found that this encoding is called 1252, and in fact, the text isn't displayed anywhere. The rest is correct. Test files are attached to this message.

Also found two more bugs:

1. Xyplorer suddenly stopped saving the list of tabs and which one is current. If I click the "save settings" button or close the program, then after restarting everything will be restored to the way it was a few days ago.

2. If no file is displayed in the right-hand preview pane, the area appears glitched because the thin border that is present in the x32 version is missing.
Attachments
test_files.zip
(675 Bytes) Downloaded 10 times
Win10, screen scaling 125%

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

Re: Problem with previewing text files in x64 version

Post by admin »

Everything is as it should be. If you want to preview the 1251 encoded file you have to select that code page from the orange button menu.
2025-11-11_181520.png
2025-11-11_181520.png (28.4 KiB) Viewed 287 times
Concerning the tabs, check settings here: Configuration | General | Startup & Exit | Save Settings | Include most-recently-used lists on save

Post Reply