Looking over the changes of last night I stumbled over 
<https://sourceforge.net/p/oorexx/bugs/1709/>:

    "[r12090] also changes (corrects) escape ( \ ) handling and adds support 
for \u00xx escape
    parsing and generation. There is still no support for general \uxxyy 
parsing because we have no
    Unicode support.  So any JSON text with a \uxxyy sequence will now fail 
(before this change,
    invalid escapes, including \u escapes, would have  been copied to the 
output string unmodified)".

The change part that now raises an error if a proper JSON \uxxyy escape 
sequence is encountered
means that valid JSON encodings containing Unicode escape sequences will cause 
json.rex to not be
able to process them anymore as now an error gets raised. The current 
incapability of ooRexx to deal
with Unicode should not cause valid JSON encodings to be regarded as an error. 
It also breaks
current Rexx programs that process JSON encodings that contain such Unicode 
escape sequences.

So please just leave the unhandled Unicode escape sequence in the text and just 
document this ooRexx
shortcoming in the json.rex class.

---rony

P.S.: Among other things this will continue to allow BSF4ooRexx users to turn 
such escape sequences
into proper Unicode renderings for interchanging with Java class libraries.

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to