Share via

Txt files are not getting converted to ANSI from UTF-8 on Windows 11. Can anyone help me on this?

Anonymous
2024-05-27T20:44:13+00:00

Hi everyone,

I am using Windows 11 and my txt files are not getting converted to ANSI from UTF-8 no matter how many times I try. I installed Notepad++ and it works for few files and for some it doesn't. Can anyone help me on this?

It is quite vital for me to get it converted. Any help is appreciated!

Thanks!

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Les Ferch 10,326 Reputation points Volunteer Moderator
    2024-05-27T22:53:35+00:00

    An ANSI text file and a UTF-8 text file without BOM (Byte Order Mark) can sometimes be difficult to distinguish. They are determined to be in one format or the other based on content. That is, the text editor has to essentially make an educated guess whether it should decode the bytes as ANSI or UTF-8. Therefore, in order to determine where things are going wrong, it's important to see what is being misinterpreted. Please post a screenshot of the problem you are seeing. Then I'll have a proper starting point to determine a possible solution.

    Please note that a file that opens as "UTF-8" will be identical to a file that opens as "ANSI" if there are no Unicode characters. That is, if all the bytes are ANSI compatible, it does not matter if the editor says it's a UTF-8 file or an ANSI file.

    3 people found this answer helpful.
    0 comments No comments