web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

export data in utf-8 encoding

(1) ShareShare
ReportReport
Posted on 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
 
I have the same question (0)
  • VO-24012334-0 Profile Picture
    10 on at
    export data in utf-8 encoding
    please let me know if some one addressed the similler issue.
  • Martin Dráb Profile Picture
    236,968 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
    10 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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 703 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 582 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 542

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans