Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reading superscript values in a text file

Former Member
0 Likes
312

hi experts

we are reading some data froma text file. some of the words in the text file has a format like this example : company® or comanyu2122. when the system reads the data somethig like this company® or comapnyâ#¢

we are using the below statement for reading the file

OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING NON-UNICODE

any suggestions??

thanks

1 REPLY 1
Read only

Former Member
0 Likes
281

This is fixed with the dataset command mode.

use like below : open dataset p_file for input in text mode encoding utf-8.