|
On Jun 29, 2017, at 2:05 PM, Arco Simonse <arco400@xxxxxxxxx> wrote:
Jon,
Scott provided a parameter for that. You might try:
yajl_stdin_load_tree(*on : errmsg) ; // *on means data is already UTF-8.
Regards,
-Arco
2017-06-29 19:44 GMT+02:00 Jon Paris <jon.paris@xxxxxxxxxxxxxx>:
For reasons of speed I'm attempting to keep everything in my web services--
in UTF-8.
I used YAJL to build the request packet in UTF-8 and send it. I receive
the response (via HTTPAPI) in UTF-8 and not need to load the YAJL tree and
parse the response.
But yajl_buf_load_tree() is defined as requiring EBCDIC input and I can't
find a UTF-8 equivalent.
Since everything else in YALJ is UTF-8 oriented this seems a little odd.
Am I missing something obvious here?
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.