Help for this page

Select Code to Download


  1. or download this
    $ perl -MEncode -MJSON -e " print JSON->new->utf8(0)->pretty(1)->encod
    +e([ decode 'utf8', qq{\xFA\xFG} ]); "
    Wide character in print at -e line 1.
    [
    ...
    [
       "\ufffd\u000fG"
    ]
    
  2. or download this
    return encode 'UTF-8', JSON->...