WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.15k stars 784 forks source link

Converted files in UTF-8 do not show UTF-8 in WinMerge but the old encoding #2208

Open Neustradamus opened 5 months ago

Neustradamus commented 5 months ago

Dear @WinMerge team,

I have converted some files to UTF-8 in Notepad++ and it is not noted UTF-8 in WinMerge, why?

There is a bug?

Thanks in advance.

sdottaka commented 5 months ago

If the text in the text file consists entirely of ASCII characters, it can be handled in any encoding, so the file will be read in WinMerge's default encoding (Codepage). The default encoding (Codepage) is probably 1252, etc., so if you want to change it to UTF-8, please change it in the Options window as shown below.

If that doesn't work, could you please attach the file?

image

Neustradamus commented 4 months ago

@sdottaka: Thanks :) It is good with it!