different ascii render from Everything Http server

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Tom.Zhang
Posts: 44
Joined: Wed Jun 03, 2015 8:51 am

different ascii render from Everything Http server

Post by Tom.Zhang »

I have some txt files in Everything server. When open it from Everything Http server in browser, a few ascii chars are not well presented.
If i download the file and open it in the browser, it displays well as expected.
Do i miss some setting in Everything?
Attachments
2026-03-25_094624.jpg
2026-03-25_094624.jpg (287.66 KiB) Viewed 820 times
2026-03-25_094340.jpg
2026-03-25_094340.jpg (145.71 KiB) Viewed 820 times
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: different ascii render from Everything Http server

Post by void »

Everything doesn't specify the encoding.
Only the content type: text/plain

The web browser will try to auto-detect the encoding.
If there's no BOM, the web browser typically falls back to ANSI or some other basic encoding.

A couple options:

1). Add a BOM to your TXT files.

-OR-

2). Force all txt files to UTF-8 encoding:
  • From the Start menu, search for:
    regedit
  • Right click Registry Editor and click Run as administrator.
  • In the Registry Editor, navigate to:
    HKEY_CLASSES_ROOT\.txt
  • Change the Content Type data from:
    text/plain

    to:
    text/plain; charset=utf-8
Everything pulls the content type and encoding from the registry.
Tom.Zhang
Posts: 44
Joined: Wed Jun 03, 2015 8:51 am

Re: different ascii render from Everything Http server

Post by Tom.Zhang »

it didn't work, but thanks to the idea, i will check.
Post Reply