Anand
08-24-2003, 10:43 PM
Hi all,
I am working with an application, which requires to get data from the file (dynamically updated), parse it and display the menu accordingly.
Now in our file, we have chinese characters. I have already written a parse, which takes care of getting exact data and populate the menu. The problem now is, the file which contains the chinese character is in unicode format.
So, to cope up with my code, whenever i read data from the file, i read it as AECHAR and convert it to CHAR by using WSTRCOMPRESS. When I try to expand it using STREXPAND, it contains some chunk characters also.
I know, the WSTRCOMPRESS will reduce two bytes into one when the value is less than 127. So, how can we retrieve back the actual data???
Please give your thoughts.......
Regards
V. Anand
I am working with an application, which requires to get data from the file (dynamically updated), parse it and display the menu accordingly.
Now in our file, we have chinese characters. I have already written a parse, which takes care of getting exact data and populate the menu. The problem now is, the file which contains the chinese character is in unicode format.
So, to cope up with my code, whenever i read data from the file, i read it as AECHAR and convert it to CHAR by using WSTRCOMPRESS. When I try to expand it using STREXPAND, it contains some chunk characters also.
I know, the WSTRCOMPRESS will reduce two bytes into one when the value is less than 127. So, how can we retrieve back the actual data???
Please give your thoughts.......
Regards
V. Anand