- Swarnendu Das
- PowerBuilder
- Friday, 18 October 2019 07:47 PM UTC
After converting my application from PowerBuilder 9 to PowerBuilder 17 all of a sudden certain comments are appearing in Chinese.
I have used SELECTBLOB to fetch the data and converted it to string.
The column "comnt" is declared as a BLOB in Oracle
The resolution I found is to use the utility utl_raw.cast_to_varchar2(dbms_lob.substr(d.comnt)) to convert the blob data to varchar2 directly in Oracle.
This works but after going through some articles it looks like it will convert first 32767 characters. What if the comment entered by user is more than that?
For now I am good but please let me know if there is any better solution. Any help would be appreciated.
Thanks
Shawn.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.