Question about json_encode value passing

Source: Internet
Author: User
Tags asin
Json_encode:
Product description:

· Thin PSP (PSP2000 release 3000 )? How can I use strongSwan? Too many? Zookeeper.
· Small PSP serial PSP-1000 with large Serial? も use strongSwan lightning!
Product Title: PSP2000 why does the PSP3000 need to be used? Too many? (PSP-1000 ?? Version) too many? : Too many bytes between-543462


Echo json_encode ($ result );
It is a null value that is passed in now. if I delete the content, it can be passed in. Is there any reason for the special characters ?? How can this problem be solved ??


Reply to discussion (solution)

$ Tdtxt ="
 
 
Select the query currency: JPYEUR GBP USD CAD
Query currency: ". $ Currency ."
CNY-> ". $ currency." exchange rate: ". $ Huilv ."
ASIN: ". $ Asin ."
Weight: ". $ Weight." g
Amazon charges: ". $ Amazon_charge ."
". $ Jps_txt ."
Logistics fees (". $ currency .")
Shenzhen post: ". $ Zhongyou_wuliu ."
Hong Kong Post: ". $ Xianggang_wuliu ."
Shenzhen to Hong Kong Post: ". $ Shenzhen_xianggang_wuliu ."
FBA: ". $ Amazon_charge ."
Procurement and other costs (". $ currency .")
Procurement cost: ". $ Caigou_cost ."
Other costs: ". $ Qita_cost ."
". $ Jps_cost_txt ."
Overall cost (". $ currency .")
Shenzhen post: ". $ Shenzhen_cost ."
Hong Kong Post: ". $ Xianggang_cost ."
Shenzhen to Hong Kong Post: ". $ Sz_xg_cost ."
FBA: 0
The recommended shipping method is:". $ Jianyi_fahuo ."
Suggested price (". $ currency ."): ". $ Jizhunjia ."
". $ Amazon_td ."
"; // $ Tdtxt = urldecode ($ tdtxt); $ result = array ('tdname' => $ amazon_td, 'tdtxt '=> $ tdtxt ); echo urldecode (json_encode ($ result ));

Where is the null value? where did you go.

Json_encode can only process UTF-8-encoded data.

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.