PredatH0r / ChanSort

TV channel list editor for Samsung, LG, Sony, Hisense, Panasonic, Philips, Sharp, Toshiba and MANY more.
837 stars 113 forks source link

ChanSort_2022-11-29 saves in Chinese? #326

Closed plueschpruem closed 1 year ago

plueschpruem commented 1 year ago

I just parsed the latest station search file from my Samsung and it seems that chanSort kinda corrupts the file on save into Chinese Lettering. I was wondering, why my TV did not show any station names after uploading the list… Re-opening the altered list shows what happened. Looks like a encoding issue. Or did I miss some sort of setting?

Using the ChanSort_2021-05-01 I still had on that PC worked fine. Before/after screenshots attached.

before after
PredatH0r commented 1 year ago

Thanks for the info, I am trying to find a solution for this asap. This looks like a breaking incompatibility introduced in Microsoft's current version of the Sqlite database access library.

PredatH0r commented 1 year ago

This is fixed in https://github.com/PredatH0r/ChanSort/releases/tag/v2022-11-30 Samsung already stores the strings in a messed-up way, ChanSort needs to un-mess them when reading and re-mess them when writing. And the latter no longer worked after upgrading to a newer version of the Microsoft.Data.Sqlite library.