, Json_decode contains gbk strings

Source: Internet
Author: User
For help, json_decode contains gbk strings. at the end of this post, the string retrieved by a curl is edited from novas at 2013-09-0220:47:19. it fully complies with the json format. the format is correct. the gbk encoding is used in Chinese, json_decode only supports UTF-8. for help, how can we perform normal json_decode parsing and display Chinese characters? thank you! {& nbsp; &, json_decode contains gbk strings

This post was last edited by novas at 20:47:19

The string retrieved from a curl is in json format and the format is correct. gbk encoding is used for Chinese characters. json_decode only supports UTF-8. how can we perform normal json_decode parsing and display Chinese characters, thank you!

{
"Watershed": 100,
"MaxPage": 1,
"CurrentPageNum": 1,
"Comments ":[
{
"Append": null,
"Auction ":{
"AucNumId": "17813389603 ",
"AuctionPic": "http://img.taobaocdn.com/bao/uploaded/null_40x40.jpg ",
"Link": "http://tradearchive.taobao.com/trade/detail/trade_snap.htm? Trade_id = 242542116456739 ",
"Sku": "color classification: Orange size: one size (hair tact )",
"Thumbnail ":"",
"Title ":""
},
"Award ":"",
"BidPriceMoney": null,
"BuyAmount": 0,
"Content": "two days late delivery due to the Qingming holiday, the store repeatedly said sorry to me. my attitude was so good that I felt very touched, although the delivery was delayed for two days, the express delivery was very powerful, and soon received the color of this V-neck small cardigan is very beautiful, the style is new, meticulous workmanship, exquisite, high-end, the fabrics used are very good and comfortable ",
"Date": "April 10, 2013 ",
"DayAfterConfirm": 0,
"EnableSNS": false,
"From ":"",
"LastModifyFrom": 0,
"PayTime": null,
"Photos ":[
{
"FileId": 343572768,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.