Edit mode in Compare By Content works bad with UTF-8 files

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Edit mode in Compare By Content works bad with UTF-8 files

Post by *menet »

Hi,

I use very often UTF-8 files for my Extension Firefox translation in French.
It uses UTF-8 files without signature (BOM Byte Order Mark).

To see the news of the extension, I use the Compare By Content... function that works right. The UTF-8 file are bad shown but it is made in the same way in the 2 compared files.

But if I use the Edit mode function and save the changes made, all the special characters (already in the file) are updated to something bad :evil:

:idea: Can TC verify the format of the file (scanning all the file) before saving it to save it in the right format (UTF-8 without BOM in our case)?

Best regards :wink:
#22273 Personal licence
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, compare by content doesn't currently support UTF8 at all.
Author of Total Commander
https://www.ghisler.com
Post Reply