Skip to main content

Notifications

Announcements

No record found.

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

export data in utf-8 encoding

(2) ShareShare
ReportReport
Posted on by 6
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 6 on at
    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 230,655 Most Valuable Professional on at
    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 6 on at
    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,938 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,655 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans