1. Mark Allan
  2. PowerBuilder
  3. Thursday, 1 February 2018 14:19 PM UTC

After adding my Workspace to source control (Git) the .pbg file is encoded as utf-8 with bom.

When using OrcaScript to create a PBL from source, it fails with "Unable to process map file: c:\pb_test_build\app1.pbg".

When I change the encoding to utf-8 without bom, the script completes without error.

Question?

Why does powerbuilder save the files as utf-8 with bom if OrcaScript can't process them. 

Thanks

Roland Smith Accepted Answer Pending Moderation
  1. Friday, 9 October 2020 17:44 PM UTC
  2. PowerBuilder
  3. # 1

Sounds like the Orcascript program isn't compiled as Unicode.

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 9 October 2020 16:28 PM UTC
  2. PowerBuilder
  3. # 2

You should not be using .PBG with Git source control.  PB 2017 and newer supports Git natively.  I strongly recommending upgrading to PB 2019 R3 when it is final release since you are using Git because we have made major enhancements: https://docs.appeon.com/pb2019r3/whats_new/Source_control_enhancements.html

 

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.