UTF8 file not rendered correctly in preview

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
bobfleming
Posts: 49
Joined: 23 Nov 2013 19:20

UTF8 file not rendered correctly in preview

Post by bobfleming »

Hi,

I have a UTF8 file containing the pound (£) character. If I preview (C-F11) the file, the £ character renders as Â.

How can I fix please?

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

Re: UTF8 file not rendered correctly in preview

Post by highend »

Renders fine here with the current beta...

Output of the menu entry: Help - Various Information?
One of my scripts helped you out? Please donate via Paypal

altoclef
Posts: 87
Joined: 12 Oct 2012 18:54
Location: Win10 @100%

Re: UTF8 file not rendered correctly in preview

Post by altoclef »

bobfleming wrote: 24 Feb 2025 14:37 I have a UTF8 file containing the pound (£) character. If I preview (C-F11) the file, the £ character renders as Â.

How can I fix please?
For me it renders as £. If I convert the file to UTF-8-BOM (using Notepad++), then XY previews it correctly.

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

Re: UTF8 file not rendered correctly in preview

Post by highend »

Configuration | Preview | Preview | Text preview | [x] UTF-8 auto-detection
is ticked?
One of my scripts helped you out? Please donate via Paypal

altoclef
Posts: 87
Joined: 12 Oct 2012 18:54
Location: Win10 @100%

Re: UTF8 file not rendered correctly in preview

Post by altoclef »

No, it wasn't.

That is the answer. When it's ticked, the preview displays the £ symbol correctly. Thank you. :) :tup:

bobfleming
Posts: 49
Joined: 23 Nov 2013 19:20

Re: UTF8 file not rendered correctly in preview

Post by bobfleming »

highend wrote: 25 Feb 2025 09:32 Configuration | Preview | Preview | Text preview | [x] UTF-8 auto-detection
is ticked?
It is now :) Thanks, fixed.

Post Reply