Json_encode Transfer value problem

Source: Internet
Author: User
Tags asin
The content of the transfer:
Product Description:

• Low-profile PSP (psp2000 3000) with バッテリ?カバ?です.
• Low profile pspでpsp-1000 for use with large バッテリ?も できます!
Product Title: psp2000 psp3000 with バッテリ?カバ? (psp-1000サイズ?? Version) カラ?:ブラック-543462


echo Json_encode ($result);
Now is the passing of the null value, I delete these contents can be passed, is it because of the special character of the reason?? How to solve??


Reply to discussion (solution)

$tdtxt = "
 
 
Select the currency of the query: jpy eur GBP USD cad
The currency of the query: ". $currency."
cny-> ". $currency." Exchange rates: ". $huilv."
asin:
weight:
amazon charges:
". $jps _txt."
logistics costs ()
Shenzhen post:
Hongkong post:
Shenzhen to Hongkong post:
FBA:
Procurement and other costs ()
purchase cost:
". $jps _cost_txt."
Comprehensive cost (". $currency.")
Shenzhen post: ". $shenzhen _cost."
Hongkong Post: ". $xianggang _cost."
Shenzhen to Hongkong 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 empty value, where did you spread it?

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.