BOM(Byte Order Mark) hexadecimal bytes is displaying in notepad

Vikram Rana Yericharla 1 Reputation point
2020-11-02T03:29:56.877+00:00

Hi,

In my Windows Server 2012 R2 virtual machine, I am able to see the BOM(Byte Order Mark) hexadecimal bytes of UTF-16LE format at the starting of the file. I am using JAVA FileWriter saving the data. Can you please help how to not show the BOM in the file? In another VM with the same OS, I am unable to see the problem.

Thanks,
Vikram Rana

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-11-02T06:36:57.133+00:00

    Hi ,

    It seems your issue is more related with BOM and JAVA FileWriter which our forum doesn't focus on. Please understand, we are not familiar with JAVA, the supported products in Q&A are listed over here: https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You would better have this asked in Developer Community for better answers.

    Best Regards,

    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.