Discussions tagged Encoding
Chinese characters issue in PowerBuilder
- Issue
- Last updated 4 months ago
- Peter Pang @Appeon replied 4 months ago
Chinese characters couldn't be displayed when querying a DB2 table in PowerBuilder. Could someone help on this? Thanks.
It could be displayed when querying in DB2 command windows....
DW.GetItemString returning ANSI encoded string?
- Resolved
- Issue
- Last updated 10 months ago
- Phil Jorgensen replied 10 months ago
Hello,
I have a question on string encoding behavior when sending an HTML SMTP message. Here is a description of the workflow:
First, we are reading in an HTML file as a message template. We are also reading a customizable message from a DataWindow...
Conversion of UTF8 byte array into characters using EncodingUTF8 in PB2019 failed
- Resolved
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
Hello everyone!
I failed when using string(blob(lb_arr), EncodingUTF8!) to convert the byte array of "?" symbol into characters.
The following is my code
// UTF-8 Encoding 0xF0 0x9F 0x89 0x82
byte lb_arr[] = {240,159,137,130}
string ls_1 = strin...
convert image file into base64 string
- Resolved
- How-to
- Last updated 2 years ago
- René Ullrich replied 2 years ago
I want to convert the image file into base64 Image. used following steps. But wen I check that using any online tool it fails String to image tool
01 I open file in stream Mode and stored into byte variable
02 Convert it to string using AnsiEncode
...
How to use unicode characters on a powerserver cloudapp
- Resolved
- Issue
- Last updated 2 years ago
- David Xiong @Appeon replied 2 years ago
Hi,
is it possible to use unicode characters on powerserver cloudapp? On a native powerbuilder app we have to append "DisableBind=0,NCharBind=1" to the DBParm, if we don't use that, some chars are recognized as questions marks (?). Example:
The fol...
Encoding Problem converting RTE to HTML
- Issue
- Last updated 4 years ago
- Mark Lee @Appeon replied 4 years ago
Hello,
I have a problem with different encoding behavior of special characters (e.g. äöüÄÖÜß) and empty lines when using different versions of RichTextEdit.
The goal is to convert the content of a RichTextEdit to HTML such that it can be send as a ...
Information Required [ Appeon PowerBuilder 2019 Datatype Blob ]
- How-to
- Last updated 4 years ago
- Michael Kramer replied 4 years ago
I am working on some of features available in Appeon (PowerBuilder 2019) for upgrading from the old version. I need some information/help for the following topics
Converting Blob into string
I am encrypting the plain text using “SymmetricEncryp...
Unexpected Character Set After Performing Base64Decode()
- How-to
- Last updated 5 years ago
- Miguel Leeuwe replied 5 years ago
Hi,
I'm currently using PB2017R3 and attempting to utilize the new CrypterObject and CoderObject functionality.
I have a text file that contains encoded / encrypted information. I wish to open the file, read the file contents and decode/decrypt var...
Identify right encoding for string
- How-to
- Last updated 5 years ago
- Daniel Vivier replied 2 years ago
Hello,
We have to convert blob data into string. The blob content could be encoded in UTF8, ANSI or UTF16LE.
How to identify which encoder to use for string conversion?
Thank you,
Yuri...
I'm calling a REST web service with PB2017 R3 using the OAuthClient to upload a file. The service is very poorly documented, and only shows an HTTP example. I've been able to use the example and get a file uploaded, but we cannot open or preview th...
Powerbuilder writes "UTF - 8" encoding to Git commits
- Resolved
- Issue
- Last updated 5 years ago
- Gordon Leishman replied 5 years ago
Hi all.
We are using a Git repository to store our powerbuilder sources and a Teamcity server to build a setup from it.Now, when I commit changes to Git from inside Powerbuilder, this commit contains an "encoding UTF - 8".And that's a problem for Te...
Hello,
I followed the example of the help to encrypt in MD5; however, the result is not as expected.
Let's see, this is the example:
Blob lblb_data
Blob lblb_md5
String ls_resultMD5
lblb_data = Blob("Test MD5", EncodingANSI!)
CrypterObject...
I have to open a browser and provide it a URL to navigate to. A portion of it needs to be URL Encoded (aka Percent Encoded), because it is a re-direct URL being passed along as a parameter to a login URL, and it also has parameters of its own.
I...
- Page :
- 1