SolidWorks' SaveToCSV Method (IEdmBomView3) exports a CSV as UTF16 LE

Programming and macros
cdantonio
Posts: 11
Joined: Mon Nov 07, 2022 4:54 pm
Answers: 0
Location: Bay Area
x 8
x 2

SolidWorks' SaveToCSV Method (IEdmBomView3) exports a CSV as UTF16 LE

Unread post by cdantonio »

Is there any way to get the SaveToCSV method to export a csv as UTF8? I don't see any way to do it on their help page.
https://help.solidworks.com/2022/englis ... Redirect=1
User avatar
JSculley
Posts: 600
Joined: Tue May 04, 2021 7:28 am
Answers: 55
x 7
x 826

Re: SolidWorks' SaveToCSV Method (IEdmBomView3) exports a CSV as UTF16 LE

Unread post by JSculley »

It does the same thing when using the regular UI and not the API. There's an SPR for it:

SPR 1188078: CSV created from PDM BOM, Contains, Where Used tabs (Open as CSV file, Save As - CSV) should use UTF-8 encoding.
Post Reply