BOM wipes search history

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I confirm that string  is stored really in UTF-8 with a BOM. So it seems that TC checks for BOM in Unicode and not in ANSI.
Since TC needs to convert Unicode to ANSI anyway before writing to INI, it should be easy to check for BOM after conversion. Or TC should convert ANSI BOM to Unicode with local codepage (CP_ACP) to get correct Unicode BOM.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hi MVV!

I have sent a pre-release version to your e-mail, please try it and let me know whether it works or not.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I've answered to your letter, all works fine with BOM converted to ANSI!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice to hear that, thanks for checking it so quickly!
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I confirm the fix in TC 8.52. Thank you!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks again!
Author of Total Commander
https://www.ghisler.com
Post Reply