Skip to main content
Post a question

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

export data in utf-8 encoding

Like (2) ShareShare
ReportReport
Posted on 27 Jan 2025 13:58:33 by 10
Hi I am trying to export data in to sharepoint as .txt format with utf_8 encoding, i am passing codepage number as 65001 but file was created with UTF-8 BOM format.
 
But my actual requirement was just utf-8 not required BOM.
the code snippet here 
TextStreamIO io = TextStreamIo::constructForWrite(65001);
 
Regards,
OV
 
  • VO-24012334-0 Profile Picture
    VO-24012334-0 10 on 30 Jan 2025 at 16:00:52
    export data in utf-8 encoding
    Thank Martin for correcting me.
     
    I am getting UTF-8 BOM, how can we delete BOM 
     
    Regard's
    OV
  • Martin Dráb Profile Picture
    Martin Dráb 231,064 Most Valuable Professional on 30 Jan 2025 at 15:20:07
    export data in utf-8 encoding
    You said you wanted UTF-8 and you got UTF-8, therefore the result matches your requirements. Do you mean that you're question isn't about "export data in utf-8 encoding" (because you already have that covered) but about BOM?
     
    You seem to think that there is "UTF-8 BOM" encoding, but that's not true. BOM, byte-order mark, isn't an encoding. It's a sequence of a few bytes describing what encoding the file uses (which may be UTF-8, UTF-16 (LE) or so).
  • VO-24012334-0 Profile Picture
    VO-24012334-0 10 on 30 Jan 2025 at 13:13:19
    export data in utf-8 encoding
    please let me know if some one addressed the similler issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,286 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans
Loading started