how to convert JSON characters like \\u00e1 to their original character in perl -


i using perl , got json format parsing.i used json::xs parsing json format in perl. want characters \u00e1 converted á .how do this?

parsing json data will give character.

perhaps need encode output?

perl -mjson::xs -e'binmode(stdout, ":utf8");say shift json::xs::decode_json(q|["\u00e1"]|)' 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -