[SOLVED] [Viewer] Display HTML as raw text? And utf-8?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
yetanotherlogin
Junior Member
Junior Member
Posts: 51
Joined: 2010-03-24, 10:51 UTC

[SOLVED] [Viewer] Display HTML as raw text? And utf-8?

Post by *yetanotherlogin »

Hello,

In older releases of TC, I don't remember having to do anything so that the Viewer (F3) would display HTML files as raw text.

Also, it uses ANSI even with utf-8 files, so I have to hit key 7.

With the 11 release I use, I had to add extensions.

Is there simpler solution, either with the default Viewser or some third-party?

Thank you.

Image: https://i.postimg.cc/SQns27wQ/image.png
Last edited by yetanotherlogin on 2025-04-13, 15:24 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [Viewer] Display HTML as raw text? And utf-8?

Post by *petermad »

Remove the view by file type for the htm(l) files and the remove then checkmark at "Show HTML as text with links".

That way TC will also detect UFT-8 encoded files automatically.

Make sure you don't have any plugins that is set up for *.htm* files. - If you do have such plugins you can use the FORCE parameter in the detect string for the plugin in the [ListerPlugins] section of your wincmd.ini file - for example:

Code: Select all

9=%COMMANDER_PATH%\PLUGINS\wlx\HTMLView\HtmlView.wlx
9_detect="EXT="" | FORCE"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
yetanotherlogin
Junior Member
Junior Member
Posts: 51
Joined: 2010-03-24, 10:51 UTC

Re: [Viewer] Display HTML as raw text? And utf-8?

Post by *yetanotherlogin »

Much better, thanks :-)
Post Reply