buda-base / blmp-client

JS client for the BLMP
3 stars 0 forks source link

handle BOM #56

Closed eroux closed 9 months ago

eroux commented 9 months ago

maybe we could:

that might make the UTF8 issue disappear in Excel / Number

berger-n commented 9 months ago

thanks to this small command line tool uconv it's easy to add a UTF8 BOM header to a downloaded csv then upload it again it works as is (see attached files W2NB4_bom.csv W2NB4_nobom.csv)

image

so I've just added the header when exporting the csv and it works importing it back: https://editor.bdrc.io/outline/bdr:W2NB4

simplescreenrecorder-2024-02-20_17 53 43 mkv

it needs to be done server-side as well, doesn't it? when downloading the file from the /outline menu (which basically is just a link to editserv)

eroux commented 9 months ago

Thanks a lot! oh, you're right, I'll open an issue on editserv

eroux commented 9 months ago

the server should now return a csv with an UTF8 BOM, @berger-n can you just make a quick test to make sure everything's fine?

berger-n commented 9 months ago

looks perfect! thanks (no difference with server file after removing then adding BOM)

image

image

eroux commented 9 months ago

great, thanks!