SC filetype(): UTF-8 or UTF-8 BOM not detected

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
pirgygab
Posts: 25
Joined: 05 Feb 2013 23:07

SC filetype(): UTF-8 or UTF-8 BOM not detected

Post by pirgygab »

Hello

filetype() returns "Ascii" for UTF-8 or UTF-8 BOM files.
(I didn't check other types)

Verified with versions in Freezer: problem appears with XYplorer 18.20.0300 (XYplorer 18.10.0100 is OK) - all tests with fresh install.

Regards

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: SC filetype(): UTF-8 or UTF-8 BOM not detected

Post by highend »

Yeah, something is horrible off.

An UTF-16 LE BOM file is reported as Binary oO...
One of my scripts helped you out? Please donate via Paypal

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

Re: SC filetype(): UTF-8 or UTF-8 BOM not detected

Post by admin »

Yep, true. Fix comes.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: SC filetype(): UTF-8 or UTF-8 BOM not detected

Post by highend »

Confirmed fixed with v18.50.0113
One of my scripts helped you out? Please donate via Paypal

pirgygab
Posts: 25
Joined: 05 Feb 2013 23:07

Re: SC filetype(): UTF-8 or UTF-8 BOM not detected

Post by pirgygab »

Thanks for that quick response!

Post Reply