Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quote characters changed after PowerGen build

Status
Not open for further replies.

Statey603

Programmer
Nov 10, 2009
196
US
Sometimes I copy and paste code from Notepad++ when I am updating code in multiple places. When I do this the pasted code looks fine However, I have noticed that pasted quote and other characters (dash) become garbled after a build - with DollarSignDollarSignHEX being inserted before and after.

For example:
this:
//CR1074 - LTC SERV AUTH – NO DOLLAR AMT
becomes this:
//CR1074 - LTC SERV AUTH $$HEX2$$13202000$$ENDHEX$$NO DOLLAR AMT

I suspect that this has to do with the Encoding used but am not sure which encoding I should specify in Notepad++ to be compatible with PowerBuilder.

I appreciate any info concerning what character encoding my text editor should be configured for to be compatible with PowerBuilder.

The Notepad++ encoding options are:
ANSI
UTF-8 without BOM
UTF-8
UCS-2 Big Endian
UCS-2 Little Endian

FYI:
I am using PowerBuilder Version 11.0 Build 6525.

thanks.....
 
Have you tried ANSI? I've had this happen sometimes when using other editors like UltraEdit when I pasted code into Visual Studio and SQL Enterprise Manager.

Matt

"Nature forges everything on the anvil of time
 
I am using ANSI.....so that must not be the right one - assuming that there is a 'right' one.


thanks
 
In my install of Notepad++ under the menu option of
TextFX > TextFX Characters there is a Convert quotes to '
option. Maybe this would help?

Matt

"Nature forges everything on the anvil of time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top