1. Andres Slachevsky
  2. PowerBuilder
  3. Thursday, 18 February 2021 15:36 PM UTC

Hello team

Is any whay to select if the SAVEAS and saveasformattedtext with ENCONDINGUTF8! to USE UTF8 without BOM or with BOM.

We have a end customer that is having problems cause the the BOM

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 6 October 2021 14:10 PM UTC
  2. PowerBuilder
  3. # 1

If you google on "api to convert utf without bom" you'll get some results: some of them suggest using python, cmd line or powershell. I was looking for a windows API function, but couldn't find any (though there probably is one).

There might be something also on Topwizprogramming, but not sure.

Comment
  1. Miguel Leeuwe
  2. Wednesday, 6 October 2021 14:11 PM UTC
If I understood well, the BOM is just some characters at the beginning of a file, so you could open it and re-write it without those characters.

regards
  1. Helpful
There are no comments made yet.
Miguel Alzate Accepted Answer Pending Moderation
  1. Wednesday, 6 October 2021 13:16 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Andres.

I'm having the same problem. What happened to this issue? Could you find any answer or solution?

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.