element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

Element Desktop does not understand config.json saved with UTF8 BOM encoding

Open Twi1ightSparkle opened this issue 1 year ago • 1 comments

Steps to reproduce

Save your config.json file in UTF8 BOM encoding. According to one customer, this used to work before 1.11.59

Outcome

What did you expect?

Element to load the config file

What happened instead?

Element start with default config

Operating system

Windows 11

Application version

1.11.71

How did you install the app?

From https://element.io/download

Homeserver

n/a

Will you send logs?

Yes

Twi1ightSparkle avatar Jul 19 '24 15:07 Twi1ightSparkle

Looks like Node doesn't handle BOM itself so it should never have worked given we have no code to handle this.

https://github.com/nodejs/node-v0.x-archive/issues/1918

t3chguy avatar Jul 19 '24 17:07 t3chguy