Using CCSID 1208 - accent characters
Posted: Thu Apr 06, 2023 5:56 pm
Hi,
I am totally stuck. I know there have been discussions on this, but in most cases, it relates to importing the json from a web service.
I am importing the JSON file from the IFS using yajl_stmf_load_tree(IFSFILE : errMsg); This file holds an accent character in the data portion.
When I run e1Sfcd = yajl_get_string(node); the results do not correctly translate the accent character. It becomes an unprintable character.
I have where some have used http_setOption ( 'network-ccsid' : '1208' ); Which I tried to set as the first step I m my program, but that did not resolve the issue.
Any help at all.. I am desperate for a solution.
Many thanks
Glen.
I am totally stuck. I know there have been discussions on this, but in most cases, it relates to importing the json from a web service.
I am importing the JSON file from the IFS using yajl_stmf_load_tree(IFSFILE : errMsg); This file holds an accent character in the data portion.
When I run e1Sfcd = yajl_get_string(node); the results do not correctly translate the accent character. It becomes an unprintable character.
I have where some have used http_setOption ( 'network-ccsid' : '1208' ); Which I tried to set as the first step I m my program, but that did not resolve the issue.
Any help at all.. I am desperate for a solution.
Many thanks
Glen.